- Timestamp:
- Feb 23, 2017, 2:28:24 AM (8 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 4d52702
- Parents:
- 5540132
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
r5540132 r15c7ed9 1 1 OS = $(shell uname) 2 CC = g++ 3 CFLAGS = -std=c++0x -Wall -pedantic #-Wextra 2 4 3 5 ifeq ($(OS),Darwin) 4 CHECK = OSX 5 CC = g++ game.cpp -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -lglfw3 -lglew -Wall -o game 6 DEP = -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -lglfw3 -lglew 6 7 endif 7 ifeq ($(OS),Lolbol) 8 CHECK = LINUX 9 CC = g++ game.cpp -lglfw3 -lGLEW -lGL -ldl -lX11 -lXrandr -lXxf86vm -lXinerama -lXcursor -pthread -Wall -std=c++0x -o game 8 ifeq ($(OS),Linux) 9 DEP = -lglfw3 -lGLEW -lGL -ldl -lX11 -lXrandr -lXxf86vm -lXinerama -lXcursor -pthread 10 10 endif 11 11 12 12 game: game.cpp 13 @echo $(CHECK) 14 $(CC) 13 $(CC) $? $(DEP) $(CFLAGS) -o $@ 15 14 16 15 clean:
Note:
See TracChangeset
for help on using the changeset viewer.