File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ RELEASE_LIBS_Linux = -lsfml-system -lsfml-window -lsfml-graphics
7
7
8
8
COMPILER_Darwin = clang++
9
9
CXX_FLAGS_Darwin = -Wall -std=c++11 -stdlib=libc++
10
- DEBUG_LIBS_Darwin = -framework SFML -framework sfml-system -framework sfml-window -framework sfml-graphics
10
+ CXX_INCLUDE_Darwin = -I/opt/local/include
11
+ DEBUG_LIBS_Darwin = -framework SFML -framework sfml-system -framework sfml-window -framework sfml-graphics
11
12
RELEASE_LIBS_Darwin = $(DEBUG_LIBS )
12
13
13
14
COMPILER = $(COMPILER_$(UNAME ) )
14
15
CXX_FLAGS = $(CXX_FLAGS_$(UNAME ) )
16
+ CXX_INCLUDE = $(CXX_INCLUDE_$(UNAME ) )
15
17
DEBUG_LIBS = $(DEBUG_LIBS_$(UNAME ) )
16
18
RELEASE_LIBS = $(RELEASE_LIBS_$(UNAME ) )
17
19
@@ -34,4 +36,8 @@ release: main
34
36
35
37
main :
36
38
cd src; \
37
- $(COMPILER ) $(CXX_FLAGS ) $(CXX_PREPROCESSOR ) -o $(TARGET ) $(SOURCE ) $(LIBS )
39
+ $(COMPILER ) $(CXX_FLAGS ) $(CXX_PREPROCESSOR ) -o $(TARGET ) $(CXX_INCLUDE ) $(SOURCE ) $(LIBS )
40
+
41
+ ifeq ($(UNAME ) , Darwin)
42
+ sh MacOS/bundle.sh
43
+ endif
You can’t perform that action at this time.
0 commit comments