From 215f7d14a708448f2a5a4a96c693f371178f7801 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 27 Sep 2017 13:45:07 +0200 Subject: iosx makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 65a486f..5f4ab76 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ -CPPFLAGS = $(shell sdl2-config --cflags --libs) +CPPFLAGS = $(shell sdl2-config --cflags --libs) +CPPFLAGS = -I/Library/Fraemework/SDL2.framework/Headers --std=c++11 +LINKFLAGS = -framework SDL2 --std=c++11 run: game ./game game: World.o main.o PerlinNoise.o - $(CXX) -o $@ $(CPPFLAGS) $^ + $(CXX) -o $@ $(LINKFLAGS) $^ clean: rm -f game -- cgit v1.2.3