From f113bb3a58b298d7f9820d26d857ff7e2bd73539 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Tue, 14 Nov 2017 15:34:04 +0100
Subject: [PATCH] =?UTF-8?q?Access:=20Makefile=20um=C3=AD=20generovat=20ass?=
 =?UTF-8?q?embler=20a=20rozbalovat=20smy=C4=8Dky?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 access/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/access/Makefile b/access/Makefile
index 1b5c58d..dc125df 100644
--- a/access/Makefile
+++ b/access/Makefile
@@ -1,6 +1,7 @@
 CC=gcc
 LD=gcc
 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
+# CFLAGS+=-funroll-loops
 
 all: access
 
@@ -8,6 +9,9 @@ access: access.c
 access: CFLAGS+=$(F)
 F=-DSIZE=16 -DMS=1000
 
+%.s: %.c
+	$(CC) $(CFLAGS) $(F) -S -o $@ $^
+
 clean:
 	rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
 	rm -f access a-* plot.gp
-- 
GitLab