diff options
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 |