added being able to create a host on the game server now need to work on joining that game
This commit is contained in:
14
Makefile
14
Makefile
@@ -19,7 +19,7 @@ ifeq ($(debug),on)
|
||||
CPPFLAGS += -Ddebug
|
||||
endif
|
||||
|
||||
BINARIES = game client server
|
||||
BINARIES = game game_server
|
||||
|
||||
all : $(BINARIES)
|
||||
|
||||
@@ -66,10 +66,7 @@ $(OBJ)overworld.o : overworld.c $(INC)overworld.h | $(OBJ)
|
||||
$(OBJ)net.o : net.c $(INC)net.h | $(OBJ)
|
||||
$(CC) $(CPPFLAGS) -o $@ $< $(INCFLAGS)
|
||||
|
||||
$(OBJ)client.o : client.c $(INC)net.h | $(OBJ)
|
||||
$(CC) $(CPPFLAGS) -o $@ $< $(INCFLAGS)
|
||||
|
||||
$(OBJ)server.o : server.c $(INC)net.h | $(OBJ)
|
||||
$(OBJ)game_server.o : game_server.c $(INC)net.h | $(OBJ)
|
||||
$(CC) $(CPPFLAGS) -o $@ $< $(INCFLAGS)
|
||||
|
||||
|
||||
@@ -84,11 +81,8 @@ $(OBJ)server.o : server.c $(INC)net.h | $(OBJ)
|
||||
#$(BIN) : $(OBJ) | $(BIN)
|
||||
# $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
||||
|
||||
$(BIN)client : $(OBJ)client.o | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
||||
|
||||
$(BIN)server: $(OBJ)server.o | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
||||
$(BIN)game_server: $(OBJ)game_server.o $(OBJ)net.o | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
$(BIN)game : $(OBJ)main.o $(OBJ)input.o $(OBJ)battle.o $(OBJ)game.o\
|
||||
$(OBJ)options.o $(OBJ)host.o $(OBJ)join.o $(OBJ)overworld.o $(OBJ)net.o\
|
||||
|
||||
Reference in New Issue
Block a user