diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-03-07 03:54:06 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-03-07 03:54:06 +0100 |
commit | c5f481afde4483e1828efd1f59d1f0c9fa1f792b (patch) | |
tree | 144489b57330e03cb4dcd8f2191359f2b2f72d77 /example | |
parent | e3cd17d1a10fd12bb38badddc951ba45424d683f (diff) | |
download | termgl-c5f481afde4483e1828efd1f59d1f0c9fa1f792b.tar.gz |
example Makfefile fix
Diffstat (limited to 'example')
-rw-r--r-- | example/Makefile | 3 |
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 |