summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ca69f8c..99547a7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
-CFLAGS=-ggdb
+include config.mk
all: gn
gn: gn.c util.c output.c tokens.h util.h output.h
cc gn.c util.c output.c -o gn ${CFLAGS}
+
+install: gn
+ cp gn ${INSTALLPREFIX}/bin/
+
clean:
rm gn