summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
commita8bec57e7a9be7b1fa36ef8be618db4e46cbd599 (patch)
tree1af5e651f4ff628f99393109e3352dbd7b1f39f4 /src/Makefile
parentc8223ce77a4dbf57be272d10c4e1d31f69bd516e (diff)
- oprava chyby #0007 #0006 #0005
- nova zbran bombball - client dostava svoju vlastnu poziciu od servera kazdych 5000 ms git-svn-id: http://opensvn.csie.org/tuxanci_ng@45 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 532132a..8661603 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -6,7 +6,7 @@ CC = gcc
CFLAGS = -g -O0 -I../include -Wall `sdl-config --cflags`
#CFLAGS = -O2 -DDESTDIR=\"$(DESTDIR)\" `sdl-config --cflags` -I../include -Wall
-BUILD_DIR = ../build
+BUILD_DIR = .
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 \
@@ -17,11 +17,9 @@ FILES = interface.o font.o list.o image.o layer.o director.o configFile.o tux.o
widget_buttonimage.o screen_credits.o teleport.o pipe.o homeDirector.o screen_table.o \
sdl_udp.o proto.o server.o client.o term.o keytable.o language.o
-tuxanci-ng: mkdir_build $(FILES)
+tuxanci-ng: $(FILES)
$(CC) $(CFLAGS) $(LIBS) -o $(BUILD_DIR)/tuxanci-ng $(BUILD_DIR)/*.o
-mkdir_build:
- mkdir -p $(BUILD_DIR)
main.o: main.c
$(CC) $(CFLAGS) -o $(BUILD_DIR)/main.o -c main.c
@@ -180,4 +178,4 @@ language.o: language.c ../include/language.h
$(CC) $(CFLAGS) -o $(BUILD_DIR)/language.o -c language.c
clean:
- rm -rf $(BUILD_DIR) *.c~ ../include/*.h~ Makefile~
+ rm -rf *.o *.c~ ../include/*.h~ Makefile~