server binary is now 'wesnothd', fixed cleaning

This commit is contained in:
Pauli Manninen 2003-10-29 06:50:26 +00:00
parent 7003c8da39
commit 125a863aef

View file

@ -3,10 +3,14 @@ SDL_LIBS = `sdl-config --libs` -lSDL_net
OBJS= game.o player.o server.o ../config.o ../filesystem.o ../game_config.o ../log.o ../network.o
server: $(OBJS)
# gcc -lstdc++ ${SDL_CFLAGS} -o $@ ${OBJS} ${SDL_LIBS}
gcc -lstdc++ ${SDL_CFLAGS} -o wesnothd ${OBJS} ${SDL_LIBS}
wesnothd: $(OBJS)
gcc -lstdc++ ${SDL_CFLAGS} -o $@ ${OBJS} ${SDL_LIBS}
.cpp.o:
gcc ${SDL_CFLAGS} -c $< -o $*.o
clean:
-rm -f *.o ../*.o editor
-rm -f *.o ../*.o wesnothd