1
0
Fork 0
mirror of https://github.com/noerw/concentric-clock synced 2025-03-12 16:00:29 +01:00
concentric-clock/make-windows
noerw bcd24db63e fix windows build
filepath to font is systemdependent, moved libs into ./lib/
2015-09-20 14:37:42 +02:00

18 lines
No EOL
672 B
Text

CXX = g++
CXXFLAGS = -O2 -Wall -Wextra -std=c++11 -mwindows
CXXFLAGSDEBUG = -O0 -g -Wall -Wextra -std=c++11
INC = -I "lib/SFML-2.1/include"
LDFLAGS = -L "lib/SFML-2.1/lib" -lmingw32 -lsfml-main -lsfml-system -lsfml-window -lsfml-graphics
LDFLAGSDEBUG = -L "lib/SFML-2.1/lib" -lmingw32 -lsfml-main-d -lsfml-system-d -lsfml-window-d -lsfml-graphics-d
OBJ = CircularSector.o SegmentRing.o MovingSectors.o ConcentricClock.o main.o
game: $(OBJ)
# DEBUG
$(CXX) $(CXXFLAGSDEBUG) -o bin/concentric-clock_dbg $(OBJ) $(LDFLAGSDEBUG)
# RELEASE
$(CXX) $(CXXFLAGS) -o bin/concentric-clock_release $(OBJ) $(LDFLAGS)
%.o: src/%.cpp
$(CXX) $(INC) $(CXXFLAGS) -c $<