summaryrefslogtreecommitdiff
path: root/src/Makefile-listserver
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-07 21:43:05 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-07 21:43:05 +0000
commita8110d0786e7931715a0d7116ed7d4c23697bdb6 (patch)
tree40c8df3fcd445eedcddd3a4de6c3a1f85e8ace52 /src/Makefile-listserver
parent58852efe0561498aca378fb612e16d1c212cd29d (diff)
- 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
Diffstat (limited to 'src/Makefile-listserver')
-rwxr-xr-xsrc/Makefile-listserver27
1 files changed, 27 insertions, 0 deletions
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~