summaryrefslogtreecommitdiff
path: root/src/Makefile-nosound
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-11 21:26:26 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-11 21:26:26 +0000
commit46958f55432bcbb6f4e90f4dd937d8de355e5785 (patch)
tree38c275b411553cf14a7aaed138151f7c4c4337b3 /src/Makefile-nosound
parent8b70ac9538f7e4da10666cfc21fd368a91a77ae3 (diff)
- podpora kompilacie bez zvuku
kompilujte ako make clean && make nosound git-svn-id: http://opensvn.csie.org/tuxanci_ng@51 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/Makefile-nosound')
-rwxr-xr-xsrc/Makefile-nosound177
1 files changed, 177 insertions, 0 deletions
diff --git a/src/Makefile-nosound b/src/Makefile-nosound
new file mode 100755
index 0000000..dbe518f
--- /dev/null
+++ b/src/Makefile-nosound
@@ -0,0 +1,177 @@
+
+#CC = /usr/local/gcc/bin/gcc
+CC = gcc
+
+#CFLAGS = -O2 -DSUPPORT_NET_SDL_UDP -I../include -Wall `sdl-config --cflags`
+CFLAGS = -g -O0 -std=c99 -DNO_SOUND -I../include -Wall `sdl-config --cflags`
+#CFLAGS = -O2 -DDESTDIR=\"$(DESTDIR)\" `sdl-config --cflags` -I../include -Wall
+
+BUILD_DIR = .
+LIBS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_net
+
+FILES = interface.o font.o list.o image.o layer.o director.o configFile.o tux.o main.o \
+ screen.o screen_world.o wall.o shot.o myTimer.o panel.o net_multiplayer.o \
+ buffer.o dynamicInt.o arena.o arenaFile.o textFile.o fake_audio.o gun.o \
+ item.o widget_label.o screen_mainMenu.o widget_button.o screen_analyze.o widget_textfield.o \
+ widget_check.o widget_image.o screen_setting.o screen_gameType.o screen_choiceArena.o \
+ widget_buttonimage.o screen_credits.o teleport.o pipe.o homeDirector.o screen_table.o \
+ sdl_udp.o proto.o server.o client.o term.o keytable.o language.o game.o
+
+tuxanci-ng: $(FILES)
+ $(CC) $(CFLAGS) $(LIBS) -o $(BUILD_DIR)/tuxanci-ng $(BUILD_DIR)/*.o
+
+main.o: main.c
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/main.o -c main.c
+
+interface.o: interface.c ../include/interface.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/interface.o -c interface.c
+
+font.o: font.c ../include/font.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/font.o -c font.c
+
+list.o: list.c ../include/list.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/list.o -c list.c
+
+image.o: image.c ../include/image.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/image.o -c image.c
+
+layer.o: layer.c ../include/layer.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/layer.o -c layer.c
+
+director.o: director.c ../include/director.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/director.o -c director.c
+
+configFile.o: configFile.c ../include/configFile.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/configFile.o -c configFile.c
+
+tux.o: tux.c ../include/tux.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/tux.o -c tux.c
+
+screen.o: screen.c ../include/screen.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen.o -c screen.c
+
+screen_world.o: screen_world.c ../include/screen_world.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_world.o -c screen_world.c
+
+wall.o: wall.c ../include/wall.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/wall.o -c wall.c
+
+shot.o: shot.c ../include/shot.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/shot.o -c shot.c
+
+myTimer.o: myTimer.c ../include/myTimer.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/myTimer.o -c myTimer.c
+
+panel.o: panel.c ../include/panel.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/panel.o -c panel.c
+
+buffer.o: buffer.c ../include/buffer.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/buffer.o -c buffer.c
+
+tcp.o: tcp.c ../include/tcp.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/tcp.o -c tcp.c
+
+udp.o: udp.c ../include/udp.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/udp.o -c udp.c
+
+sdl_udp.o: sdl_udp.c ../include/sdl_udp.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/sdl_udp.o -c sdl_udp.c
+
+proto.o: proto.c ../include/proto.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/proto.o -c proto.c
+
+server.o: server.c ../include/server.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/server.o -c server.c
+
+client.o: client.c ../include/client.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/client.o -c client.c
+
+network.o: network.c ../include/network.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/network.o -c network.c
+
+net_multiplayer.o: net_multiplayer.c ../include/net_multiplayer.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/net_multiplayer.o -c net_multiplayer.c
+
+dynamicInt.o: dynamicInt.c ../include/dynamicInt.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/dynamicInt.o -c dynamicInt.c
+
+arena.o: arena.c ../include/arena.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/arena.o -c arena.c
+
+textFile.o: textFile.c ../include/textFile.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/textFile.o -c textFile.c
+
+arenaFile.o: arenaFile.c ../include/arenaFile.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/arenaFile.o -c arenaFile.c
+
+gun.o: gun.c ../include/gun.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/gun.o -c gun.c
+
+item.o: item.c ../include/item.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/item.o -c item.c
+
+screen_mainMenu.o: screen_mainMenu.c ../include/screen_mainMenu.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_mainMenu.o -c screen_mainMenu.c
+
+screen_analyze.o: screen_analyze.c ../include/screen_analyze.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_analyze.o -c screen_analyze.c
+
+screen_setting.o: screen_setting.c ../include/screen_setting.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_setting.o -c screen_setting.c
+
+screen_gameType.o: screen_gameType.c ../include/screen_gameType.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_gameType.o -c screen_gameType.c
+
+screen_choiceArena.o: screen_choiceArena.c ../include/screen_choiceArena.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_choiceArena.o -c screen_choiceArena.c
+
+screen_credits.o: screen_credits.c ../include/screen_credits.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_credits.o -c screen_credits.c
+
+widget_label.o: widget_label.c ../include/widget_label.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_label.o -c widget_label.c
+
+widget_button.o: widget_button.c ../include/widget_button.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_button.o -c widget_button.c
+
+widget_buttonimage.o: widget_buttonimage.c ../include/widget_buttonimage.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_buttonimage.o -c widget_buttonimage.c
+
+widget_textfield.o: widget_textfield.c ../include/widget_textfield.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_textfield.o -c widget_textfield.c
+
+widget_check.o: widget_check.c ../include/widget_check.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_check.o -c widget_check.c
+
+widget_image.o: widget_image.c ../include/widget_image.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/widget_image.o -c widget_image.c
+
+teleport.o: teleport.c ../include/teleport.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/teleport.o -c teleport.c
+
+pipe.o: pipe.c ../include/pipe.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/pipe.o -c pipe.c
+
+homeDirector.o: homeDirector.c ../include/homeDirector.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/homeDirector.o -c homeDirector.c
+
+screen_table.o: screen_table.c ../include/screen_table.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/screen_table.o -c screen_table.c
+
+term.o: term.c ../include/term.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/term.o -c term.c
+
+keytable.o: keytable.c ../include/keytable.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/keytable.o -c keytable.c
+
+language.o: language.c ../include/language.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/language.o -c language.c
+
+game.o: game.c ../include/game.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/game.o -c game.c
+
+fake_audio.o: fake_audio.c ../include/fake_audio.h
+ $(CC) $(CFLAGS) -o $(BUILD_DIR)/fake_audio.o -c fake_audio.c
+
+clean:
+ rm -rf *.o *.c~ ../include/*.h~ Makefile~