From c5f481afde4483e1828efd1f59d1f0c9fa1f792b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 7 Mar 2019 03:54:06 +0100 Subject: example Makfefile fix --- example/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/Makefile') 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 -- cgit v1.2.3