1 --- blendelf-0.9-beta3-source/Makefile 2010-09-03 00:33:22.000000000 +0200
2 +++ src/blendelf-0.9-beta3-source/Makefile 2011-08-21 16:39:23.000000000 +0200
4 STA_CFLAGS = -Wall -O2 -DELF_PLAYER -DELF_LINUX
5 SHR_CFLAGS = -fPIC -Wall -O2 -DELF_LINUX
7 -INCS = -Igfx -Ielf -I/usr/include/lua5.1 -I/usr/include/freetype2
8 +INCS = -Igfx -Ielf -I/usr/include/lua5.1 -I/usr/include/freetype2 -I/usr/include/bullet
10 BLENDELF_LIBS = -lGL -lGLEW -lglfw -lXxf86vm -lXrandr -lXrender -pthread \
11 - -lfreeimage -lvorbisfile -lvorbis -logg -lopenal -llua5.1 -lfreetype \
12 + -lfreeimage -lvorbisfile -lvorbis -logg -lopenal -llua -lfreetype \
13 -lBulletDynamics -lLinearMath -lBulletCollision -lenet -lassimp
15 BLENDELF_STATIC_LIBS = -lGL -lGLU /usr/lib/libGLEW.a /usr/lib/libglfw.a \
17 /usr/local/lib/libBulletCollision.a \
18 -lfreeimage -lfreetype -lopenal -pthread -lassimp
24 gcc -c elf/blendelf.c $(DEV_CFLAGS) $(INCS)
25 gcc -c gfx/gfx.c $(DEV_CFLAGS) $(INCS)
26 gcc -c elf/audio.c $(DEV_CFLAGS) $(INCS)
28 g++ -c elf/physics.cpp $(DEV_CFLAGS) $(INCS)
29 g++ -c elf/binds.cpp $(DEV_CFLAGS) $(INCS)
30 g++ -c elf/blendelf_wrap.cxx $(DEV_CFLAGS) $(INCS)
31 - gcc -Wl,-rpath,linux_libraries -o blendelf *.o $(DEV_CFLAGS) $(BLENDELF_LIBS)
32 + gcc -o blendelf *.o $(DEV_CFLAGS) $(BLENDELF_LIBS)
38 gcc -c elf/blendelf.c $(STA_CFLAGS) $(INCS)
39 gcc -c gfx/gfx.c $(STA_CFLAGS) $(INCS)
40 gcc -c elf/audio.c $(STA_CFLAGS) $(INCS)
42 g++ -c elf/physics.cpp $(STA_CFLAGS) $(INCS)
43 g++ -c elf/binds.cpp $(STA_CFLAGS) $(INCS)
44 g++ -c elf/blendelf_wrap.cxx $(STA_CFLAGS) $(INCS)
45 - gcc -Wl,-rpath,linux_libraries -o blendelf *.o $(STA_CFLAGS) $(BLENDELF_STATIC_LIBS)
46 + gcc -o blendelf *.o $(STA_CFLAGS) $(BLENDELF_STATIC_LIBS)
52 gcc -c -fPIC elf/blendelf.c $(SHR_CFLAGS) $(INCS)
53 gcc -c -fPIC gfx/gfx.c $(SHR_CFLAGS) $(INCS)
54 gcc -c -fPIC elf/audio.c $(SHR_CFLAGS) $(INCS)
56 g++ -c -fPIC elf/physics.cpp $(SHR_CFLAGS) $(INCS)
57 g++ -c -fPIC elf/binds.cpp $(SHR_CFLAGS) $(INCS)
58 g++ -c -fPIC elf/blendelf_wrap.cxx $(SHR_CFLAGS) $(INCS)
59 - gcc -Wl,-rpath,linux_libraries -shared -o libblendelf.so *.o $(SHR_CFLAGS) $(BLENDELF_STATIC_LIBS)
60 + gcc -shared -o libblendelf.so *.o $(SHR_CFLAGS) $(BLENDELF_LIBS)
64 + install -d $(DESTDIR)/usr/bin
65 + install -d $(DESTDIR)/usr/lib
66 + install -d $(DESTDIR)/usr/include
67 + install -d $(DESTDIR)/usr/share/doc/blendelf
68 + install -d $(DESTDIR)/usr/share/licenses/blendelf
70 + install -Dm755 blendelf $(DESTDIR)/usr/bin
71 + install -Dm755 libblendelf.so $(DESTDIR)/usr/lib
72 + install -Dm644 cppsdk/blendelf.h $(DESTDIR)/usr/include
73 + cp -a docs/* $(DESTDIR)/usr/share/doc/blendelf
74 + install -Dm644 LICENSE.txt $(DESTDIR)/usr/share/licenses/blendelf