castletour/Makefile

20 lines
337 B
Makefile
Raw Normal View History

2014-10-19 21:51:28 +00:00
CXX=clang++
CXXFLAGS= -O3 -Wall
INCLUDES= -Iinclude/irrlicht
LIBS= -lIrrlicht -lX11 -lGL
MV=mv
MKDIR=mkdir -p
RM=rm -rf
main:
$(MKDIR) bin
$(CXX) $(INCLUDES) -c -o src/main.o src/main.cpp
$(CXX) $(INCLUDES) -c -o src/eventReceiver.o src/eventReceiver.cpp
$(CXX) $(LIBS) -o bin/castletour src/*.o
clean:
$(RM) src/*.o
$(RM) bin