Commit f113bb3a authored by Martin Mareš's avatar Martin Mareš

Access: Makefile umí generovat assembler a rozbalovat smyčky

parent 7c3e7457
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment