aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Homer <mwh@mwh.geek.nz>2014-06-19 21:17:00 +1200
committerMichael Homer <mwh@mwh.geek.nz>2014-06-19 21:17:00 +1200
commit0692fd89fdb6473741055d020f3c5c0510132f9c (patch)
tree47a8125319c3ba6dc96b385ffdb4b5896f4aceb2 /Makefile
downloaddragon-0692fd89fdb6473741055d020f3c5c0510132f9c.tar.gz
dragon-0692fd89fdb6473741055d020f3c5c0510132f9c.tar.bz2
dragon-0692fd89fdb6473741055d020f3c5c0510132f9c.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cf8bbb1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+PREFIX = $(HOME)/.local/bin
+
+all: dragon
+
+dragon: dragon.c
+ $(CC) --std=c99 -Wall $(DEFINES) dragon.c -o dragon `pkg-config --cflags gtk+-3.0` `pkg-config --libs gtk+-3.0`
+
+install: dragon
+ cp dragon $(PREFIX)
bgstack15