summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-07-23 16:57:25 +0100
committerKatolaZ <katolaz@freaknet.org>2019-07-23 16:57:25 +0100
commit3a8eeffc5b3ef3d23984913d841e3a0aa5f68e16 (patch)
tree9af1d966e1082fda849452a25ee02a463cae408f /Makefile
parenta64ca9d14f8c197398badad39148b794757742b2 (diff)
add makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9ce0381
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+# gramscii - simple editor for ASCII box-and-arrow charts
+
+include config.mk
+
+SRC = gramscii.c
+
+all: options gramscii
+
+options:
+ @echo "-+- build options -+-"
+ @echo "PREFIX = $(PREFIX)"
+ @echo "CFLAGS = $(CFLAGS)"
+ @echo "CC = $(CC)"
+ @echo "-+-+-+-+-+-+-+-+-+-+-"
+
+
+gramscii:
+ $(CC) $(CFLAGS) -o $@ $(SRC)
+