From a8110d0786e7931715a0d7116ed7d4c23697bdb6 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 7 Jun 2008 21:43:05 +0000 Subject: - prva verzia listServer, zatial ju _iba_ hodim na SVN server git-svn-id: http://opensvn.csie.org/tuxanci_ng@61 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/Makefile-listserver | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 src/Makefile-listserver (limited to 'src/Makefile-listserver') diff --git a/src/Makefile-listserver b/src/Makefile-listserver new file mode 100755 index 0000000..c2cba31 --- /dev/null +++ b/src/Makefile-listserver @@ -0,0 +1,27 @@ + +#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 -D_GNU_SOURCE=1 -I../include -Wall +#CFLAGS = -O2 -DDESTDIR=\"$(DESTDIR)\" `sdl-config --cflags` -I../include -Wall + +BUILD_DIR = . +LIBS = + +FILES = listServer.o udp.o list.o + +listServer: $(FILES) + $(CC) $(CFLAGS) $(LIBS) -o $(BUILD_DIR)/listServer $(BUILD_DIR)/*.o + +listServer.o: listServer.c + $(CC) $(CFLAGS) -o $(BUILD_DIR)/listServer.o -c listServer.c + +list.o: list.c ../include/list.h + $(CC) $(CFLAGS) -o $(BUILD_DIR)/list.o -c list.c + +udp.o: udp.c ../include/udp.h + $(CC) $(CFLAGS) -o $(BUILD_DIR)/udp.o -c udp.c + +clean: + rm -rf *.o *.c~ ../include/*.h~ Makefile~ -- cgit v1.2.3