diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-16 13:45:40 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-16 13:45:40 +0000 |
| commit | 2c160370499826609371fa9621b8c31aa8a8566a (patch) | |
| tree | 6941e47adc9915c03709f450450e02fda524f288 /src/Makefile | |
| parent | b84b59153c587248ca8a6a94a6d93977e851233f (diff) | |
- siete boli prepisane do SDL_net
git-svn-id: http://opensvn.csie.org/tuxanci_ng@19 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/Makefile')
| -rwxr-xr-x | src/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index 2ecb449..11f664f 100755 --- a/src/Makefile +++ b/src/Makefile @@ -2,10 +2,10 @@ #CC = /usr/local/gcc/bin/gcc CC = gcc -CFLAGS = -g -O0 -DDISTDIR=\"$(DISTDIR)\" `sdl-config --cflags` -I../include -Wall +CFLAGS = -g -O0 -DSUPPORT_NET_SDL_UDP -DDISTDIR=\"$(DISTDIR)\" `sdl-config --cflags` -I../include -Wall #CFLAGS = -O2 -DDISTDIR=\"$(DISTDIR)\" `sdl-config --cflags` -I../include -Wall -LIBS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer +LIBS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -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 network.o \ @@ -13,7 +13,7 @@ FILES = interface.o font.o list.o image.o layer.o director.o configFile.o tux.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 \ - tcp.o udp.o proto.o server.o client.o + tcp.o udp.o sdl_udp.o proto.o server.o client.o tuxanci-ng: $(FILES) $(CC) $(CFLAGS) $(LIBS) -o tuxanci-ng $(FILES) @@ -72,6 +72,9 @@ tcp.o: tcp.c ../include/tcp.h udp.o: udp.c ../include/udp.h $(CC) $(CFLAGS) -o udp.o -c udp.c +sdl_udp.o: sdl_udp.c ../include/sdl_udp.h + $(CC) $(CFLAGS) -o sdl_udp.o -c sdl_udp.c + proto.o: proto.c ../include/proto.h $(CC) $(CFLAGS) -o proto.o -c proto.c |