aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-22 23:48:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-22 23:48:50 -0700
commit60db02c71c6678d67c9e8b73c12ec7d88fd80df7 (patch)
tree47f041043d55e962e9a25c3f8615db1c6917abba /Makefile
parente1bda2f448cdad3be2a66cac2df96e9b82f5a882 (diff)
downloadsafepath-60db02c71c6678d67c9e8b73c12ec7d88fd80df7.tar.gz
safepath-60db02c71c6678d67c9e8b73c12ec7d88fd80df7.tar.bz2
safepath-60db02c71c6678d67c9e8b73c12ec7d88fd80df7.zip
safepath: new project.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b9d484f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+DIAG_FLAGS ?= -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic
+OPT_FLAGS ?= -O2
+CFLAGS ?= $(OPT_FLAGS) $(DIAG_FLAGS)
+
+testsp: safepath.o
+
+clean:
+ rm -f testsp safepath.o