summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 03:54:06 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 03:54:06 +0100
commitc5f481afde4483e1828efd1f59d1f0c9fa1f792b (patch)
tree144489b57330e03cb4dcd8f2191359f2b2f72d77 /example/Makefile
parente3cd17d1a10fd12bb38badddc951ba45424d683f (diff)
downloadtermgl-c5f481afde4483e1828efd1f59d1f0c9fa1f792b.tar.gz
example Makfefile fix
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index f72ad2f..0889694 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -1,9 +1,10 @@
CC = /usr/bin/g++
+CFLAGS = -Wall -g -std=c++11
LIBDIR = ../build/lib
INCDIR = ../build/inc
%: %.cpp
- $(CC) -I$(INCDIR) -L$(LIBDIR) -lengine $< -o $@.out
+ $(CC) -I$(INCDIR) -L$(LIBDIR) $(CFLAGS) -lengine $< -o $@.out
LD_LIBRARY_PATH=$(LIBDIR) ./$@.out
.PHONY: clean