aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..74cdaf7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+SRC=$(wildcard *.c)
+OBJ=$(SRC:.c=.o)
+CFLAGS=-Wall -pedantic -O3 -MMD -MP
+
+cover: $(OBJ)
+
+clean:
+ rm *.o *.d
+
+-include $(SRC:.c=.d)