Switching to clang compiler.

This commit is contained in:
Deathsbreed
2014-10-19 16:51:28 -05:00
parent 140b3c8b1c
commit 7401cfcd34
188 changed files with 39538 additions and 30 deletions

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
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