From 2c160370499826609371fa9621b8c31aa8a8566a Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 16 Mar 2008 13:45:40 +0000 Subject: - siete boli prepisane do SDL_net git-svn-id: http://opensvn.csie.org/tuxanci_ng@19 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3