aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
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