From 7c36d8fa4898bed74fb70d28907964f302938506 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 6 Mar 2019 23:02:35 +0100 Subject: Added example Project + Makefile. updated gitignore pong.cpp not working! --- example/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 example/Makefile (limited to 'example/Makefile') 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 -- cgit v1.2.3