aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-02 23:48:34 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-02 23:48:34 +0800
commitb9d4b60486e224261990c0732852513e86dd94ff (patch)
tree9f9dd20a888875833af11dc7a67b849a74825b5b /src/makefile
parentabffe5f72dfb39da8d480ce3c4b546404684a060 (diff)
downloadbullet-lab-remix-b9d4b60486e224261990c0732852513e86dd94ff.tar.xz
Add BLR3 files. Modify Readme.
Currently BLR3 is VERY primitive!!
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile
new file mode 100644
index 0000000..57d9356
--- /dev/null
+++ b/src/makefile
@@ -0,0 +1,41 @@
+CC= g++
+CXXFLAGS= -std=c++11 -Wall -g -I/home/chrisoft/devel/BulletLabRemixIII/include
+LINK= -L../smelt/sdl -L../extensions -lsmeltext -lsmelt -lCxImage -lSDL2 -lvorbis -lvorbisfile -lopenal -ljpeg -lpng -lfreetype -lz -pthread
+
+all: main
+
+main: main.o scenemgr.o intro.o menuclass.o resources.o mainmenu.o bullet.o gamescene.o player.o vmrunner.o
+ $(CC) main.o scenemgr.o intro.o menuclass.o mainmenu.o resources.o bullet.o gamescene.o player.o vmrunner.o $(LINK) -o BLR3
+
+main.o: main.cpp
+ $(CC) $(CXXFLAGS) -c main.cpp
+
+scenemgr.o: master/scenemgr.cpp
+ $(CC) $(CXXFLAGS) -c master/scenemgr.cpp
+
+resources.o: master/resources.cpp
+ $(CC) $(CXXFLAGS) -c master/resources.cpp
+
+intro.o: master/intro.cpp
+ $(CC) $(CXXFLAGS) -c master/intro.cpp
+
+menuclass.o: ui/menuframework/menuclass.cpp
+ $(CC) $(CXXFLAGS) -c ui/menuframework/menuclass.cpp
+
+mainmenu.o: ui/mainmenu.cpp
+ $(CC) $(CXXFLAGS) -c ui/mainmenu.cpp
+
+bullet.o: core/bullet.cpp
+ $(CC) $(CXXFLAGS) -c core/bullet.cpp
+
+gamescene.o: core/gamescene.cpp
+ $(CC) $(CXXFLAGS) -c core/gamescene.cpp
+
+player.o: core/player.cpp
+ $(CC) $(CXXFLAGS) -c core/player.cpp
+
+vmrunner.o: core/vmrunner.cpp
+ $(CC) $(CXXFLAGS) -c core/vmrunner.cpp
+
+clean:
+ rm *.o BLR3 \ No newline at end of file