summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-06 23:02:35 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-06 23:02:35 +0100
commit7c36d8fa4898bed74fb70d28907964f302938506 (patch)
treec1f997624203e64fac98b119868e44994ad74f9d /example/Makefile
parent98da4bb94fbd2e65b1634f01519e3bbd59b76592 (diff)
downloadtermgl-7c36d8fa4898bed74fb70d28907964f302938506.tar.gz
Added example Project + Makefile. updated gitignore
pong.cpp not working!
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
new file mode 100644
index 0000000..9ae78ca
--- /dev/null
+++ b/example/Makefile
@@ -0,0 +1,9 @@
+CC = /usr/bin/g++
+LIBDIR = ../build/lib
+INCDIR = ../build/inc
+
+.PHONY: pong
+
+pong:
+ $(CC) -I$(INCDIR) -L$(LIBDIR) -lengine $@.cpp -o $@.out
+ LD_LIBRARY_PATH=$(LIBDIR) ./$@.out