From 0f7271e7dc9ce17dbfc4bc6cca8c822a92dac54e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 7 Nov 2012 20:30:55 +0100 Subject: makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4c02575 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +all: + gcc -o "hungarian"{,.c} + +test: + ./"hungarian" + +valgrind: + valgrind --leak-check=full ./"hungarian" + +clean: + if [ -f "hungarian" ]; then unlink "hungarian"; fi + + +.PHONY: test valgrind clean + -- cgit v1.2.3-70-g09d2