From 3a8eeffc5b3ef3d23984913d841e3a0aa5f68e16 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 23 Jul 2019 16:57:25 +0100 Subject: add makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) + -- cgit v1.2.3