diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,10 @@ .PHONY: all clean test -ALL = attocc attocc-small attocc-debug attocc-test + +attocc: attocc.c + cc -DDEBUG -O3 -o $@ $< + +ALL = attocc attocc-small attocc-debug attocc-test attocc-test-opt + all: $(ALL) clean: rm $(ALL) @@ -7,9 +12,6 @@ test: attocc-test attocc-test-opt ./attocc-test ./attocc-test-opt -attocc: attocc.c - cc -DDEBUG -O3 -o $@ $< - attocc-debug: attocc.c cc -DDEBUG -Wall -Wextra -Wpedantic -Og -g -o $@ $< |