server binary is now 'wesnothd', fixed cleaning
This commit is contained in:
parent
7003c8da39
commit
125a863aef
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue