diff options
author | Mattias Andrée <maandree@kth.se> | 2020-09-05 11:12:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-09-05 11:43:56 +0200 |
commit | 062827d797e46f8819bab1fa9c71a855fc5db5f3 (patch) | |
tree | 34a8ad2f22cc9280ec6e3c9000f43c700fabcdc8 /Makefile | |
parent | bump year (diff) | |
download | hungarian-algorithm-n3-062827d797e46f8819bab1fa9c71a855fc5db5f3.tar.gz hungarian-algorithm-n3-062827d797e46f8819bab1fa9c71a855fc5db5f3.tar.bz2 hungarian-algorithm-n3-062827d797e46f8819bab1fa9c71a855fc5db5f3.tar.xz |
Make code nice
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -8,8 +8,7 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \ -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -Wconversion \ -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp -fstack-usage \ - -funsafe-loop-optimizations -# excluded: -Wdeclaration-after-statement + -funsafe-loop-optimizations -Wdeclaration-after-statement all: hungarian @@ -17,14 +16,11 @@ all: hungarian hungarian: hungarian.c gcc -std=gnu99 $(OPTIMISE) $(WARN) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o $@ $< -test: - ./"hungarian" - -valgrind: - valgrind --tool=memcheck --leak-check=full ./"hungarian" +test: hungarian + ./hungarian clean: - -rm hungarian + -rm -f -- hungarian .PHONY: all test valgrind clean |