summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)
+