diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-28 16:38:35 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-28 16:38:35 +0000 |
| commit | 2d776fcd61be168e1ff0ff2e4a5e71835e7cea19 (patch) | |
| tree | 7cf274897bf540d5332d446f583ffd066e4e2e1d /src/Makefile-sdlnet | |
| parent | b877ae23ac5d380ab3aa48d7724045cf4883b186 (diff) | |
- prekopanie adresarovej struktury, prva cast
git-svn-id: http://opensvn.csie.org/tuxanci_ng@77 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/Makefile-sdlnet')
| -rw-r--r-- | src/Makefile-sdlnet | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Makefile-sdlnet b/src/Makefile-sdlnet new file mode 100644 index 0000000..d278d52 --- /dev/null +++ b/src/Makefile-sdlnet @@ -0,0 +1,29 @@ + +CC = gcc +CFLAGS = -g -O0 -std=c99 -I.. -Wall `sdl-config --cflags` -DSUPPORT_NET_SDL_UDP +LIBS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_net + +all: + make -C ./audio -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./net_sdl -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./client -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./screen -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./widget -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./base -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + make -C ./modules -f Makefile CC="$(CC)" CFLAGS="$(CFLAGS)" + $(CC) $(CFLAGS) $(LIBS) -o tuxanci-ng base/*.o client/*.o widget/*.o screen/*.o net_sdl/*.o audio/*.o + cp modules/*.so ../modules/ + cp tuxanci-ng ../ + +clean: + make -C ./base -f Makefile clean + make -C ./client -f Makefile clean + make -C ./screen -f Makefile clean + make -C ./widget -f Makefile clean + make -C ./net_unix -f Makefile clean + make -C ./net_sdl -f Makefile clean + make -C ./audio -f Makefile clean + make -C ./modules -f Makefile clean + rm -rf ../modules/*.so + rm tuxanci-ng + rm ../tuxanci-ng |