- Timestamp:
- Feb 23, 2017, 12:00:04 AM (8 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 5540132
- Parents:
- a6edbfb
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (02/22/17 23:59:59)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (02/23/17 00:00:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
ra6edbfb r5a643d3 1 OS = $(shell uname) 2 3 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 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 10 endif 11 1 12 game: game.cpp 2 g++ game.cpp -lglfw3 -lGLEW -lGL -ldl -lX11 -lXrandr -lXxf86vm -lXinerama -lXcursor -pthread -Wall -std=c++0x -o game 13 @echo $(CHECK) 14 $(CC) 3 15 4 16 clean:
Note:
See TracChangeset
for help on using the changeset viewer.