source: network-game/client/makefile@ edfd1d0

Last change on this file since edfd1d0 was edfd1d0, checked in by dportnoy <dmp1488@…>, 12 years ago

Moved the Player class to the common directory, added a position to Player, added a new message type for sending player info, and made the server broadcast player positions everytime it receives and replies to a message

  • Property mode set to 100644
File size: 544 bytes
RevLine 
[3f5616f]1CC = g++
2LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0`
3FLAGS = $(LIB_FLAGS)
4COMMON_PATH = ../common
[edfd1d0]5DEPENDENCIES = Message.o Player.o chat.o GuiComponent.o Window.o Textbox.o Button.o
[3f5616f]6
7gameClient : Client/main.cpp $(DEPENDENCIES)
8 $(CC) -o $@ $+ $(FLAGS)
9
10Message.o : $(COMMON_PATH)/Message.cpp
11 $(CC) -c -o $@ $? $(FLAGS)
12
[edfd1d0]13Player.o : $(COMMON_PATH)/Player.cpp
14 $(CC) -c -o $@ $? $(FLAGS)
15
[3f5616f]16%.o : Client/%.cpp
17 $(CC) -c -o $@ $? $(FLAGS)
18
19clean:
20 rm *.o
21 rm gameClient
Note: See TracBrowser for help on using the repository browser.