summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile126
1 files changed, 126 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100755
index 0000000..224e70a
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,126 @@
+
+CC = gcc
+
+CFLAGS = -g -O0 `sdl-config --cflags` -I../include -Wall
+LIBS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
+
+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 network.o \
+ buffer.o dynamicInt.o arena.o arenaFile.o textFile.o sound.o audio.o music.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
+
+
+tuxanci-ng: $(FILES)
+ $(CC) $(CFLAGS) $(LIBS) -o tuxanci-ng $(FILES)
+
+main.o: main.c
+ $(CC) $(CFLAGS) -o main.o -c main.c
+
+interface.o: interface.c ../include/interface.h
+ $(CC) $(CFLAGS) -o interface.o -c interface.c
+
+font.o: font.c ../include/font.h
+ $(CC) $(CFLAGS) -o font.o -c font.c
+
+list.o: list.c ../include/list.h
+ $(CC) $(CFLAGS) -o list.o -c list.c
+
+image.o: image.c ../include/image.h
+ $(CC) $(CFLAGS) -o image.o -c image.c
+
+layer.o: layer.c ../include/layer.h
+ $(CC) $(CFLAGS) -o layer.o -c layer.c
+
+director.o: director.c ../include/director.h
+ $(CC) $(CFLAGS) -o director.o -c director.c
+
+configFile.o: configFile.c ../include/configFile.h
+ $(CC) $(CFLAGS) -o configFile.o -c configFile.c
+
+tux.o: tux.c ../include/tux.h
+ $(CC) $(CFLAGS) -o tux.o -c tux.c
+
+screen.o: screen.c ../include/screen.h
+ $(CC) $(CFLAGS) -o screen.o -c screen.c
+
+screen_world.o: screen_world.c ../include/screen_world.h
+ $(CC) $(CFLAGS) -o screen_world.o -c screen_world.c
+
+wall.o: wall.c ../include/wall.h
+ $(CC) $(CFLAGS) -o wall.o -c wall.c
+
+shot.o: shot.c ../include/shot.h
+ $(CC) $(CFLAGS) -o shot.o -c shot.c
+
+myTimer.o: myTimer.c ../include/myTimer.h
+ $(CC) $(CFLAGS) -o myTimer.o -c myTimer.c
+
+panel.o: panel.c ../include/panel.h
+ $(CC) $(CFLAGS) -o panel.o -c panel.c
+
+buffer.o: buffer.c ../include/buffer.h
+ $(CC) $(CFLAGS) -o buffer.o -c buffer.c
+
+network.o: network.c ../include/network.h
+ $(CC) $(CFLAGS) -o network.o -c network.c
+
+net_multiplayer.o: net_multiplayer.c ../include/net_multiplayer.h
+ $(CC) $(CFLAGS) -o net_multiplayer.o -c net_multiplayer.c
+
+dynamicInt.o: dynamicInt.c ../include/dynamicInt.h
+ $(CC) $(CFLAGS) -o dynamicInt.o -c dynamicInt.c
+
+arena.o: arena.c ../include/arena.h
+ $(CC) $(CFLAGS) -o arena.o -c arena.c
+
+textFile.o: textFile.c ../include/textFile.h
+ $(CC) $(CFLAGS) -o textFile.o -c textFile.c
+
+arenaFile.o: arenaFile.c ../include/arenaFile.h
+ $(CC) $(CFLAGS) -o arenaFile.o -c arenaFile.c
+
+audio.o: audio.c ../include/audio.h
+ $(CC) $(CFLAGS) -o audio.o -c audio.c
+
+sound.o: sound.c ../include/sound.h
+ $(CC) $(CFLAGS) -o sound.o -c sound.c
+
+music.o: music.c ../include/music.h
+ $(CC) $(CFLAGS) -o music.o -c music.c
+
+gun.o: gun.c ../include/gun.h
+ $(CC) $(CFLAGS) -o gun.o -c gun.c
+
+item.o: item.c ../include/item.h
+ $(CC) $(CFLAGS) -o item.o -c item.c
+
+screen_mainMenu.o: screen_mainMenu.c ../include/screen_mainMenu.h
+ $(CC) $(CFLAGS) -o screen_mainMenu.o -c screen_mainMenu.c
+
+screen_analyze.o: screen_analyze.c ../include/screen_analyze.h
+ $(CC) $(CFLAGS) -o screen_analyze.o -c screen_analyze.c
+
+screen_setting.o: screen_setting.c ../include/screen_setting.h
+ $(CC) $(CFLAGS) -o screen_setting.o -c screen_setting.c
+
+screen_gameType.o: screen_gameType.c ../include/screen_gameType.h
+ $(CC) $(CFLAGS) -o screen_gameType.o -c screen_gameType.c
+
+widget_label.o: widget_label.c ../include/widget_label.h
+ $(CC) $(CFLAGS) -o widget_label.o -c widget_label.c
+
+widget_button.o: widget_button.c ../include/widget_button.h
+ $(CC) $(CFLAGS) -o widget_button.o -c widget_button.c
+
+widget_textfield.o: widget_textfield.c ../include/widget_textfield.h
+ $(CC) $(CFLAGS) -o widget_textfield.o -c widget_textfield.c
+
+widget_check.o: widget_check.c ../include/widget_check.h
+ $(CC) $(CFLAGS) -o widget_check.o -c widget_check.c
+
+widget_image.o: widget_image.c ../include/widget_image.h
+ $(CC) $(CFLAGS) -o widget_image.o -c widget_image.c
+
+clean:
+ rm -rf *.o *.c~ *.h~ tuxanci-ng