source: network-game/client/makefile@ 90eaad2

Last change on this file since 90eaad2 was eab83af, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago

Client makefile update

  • Property mode set to 100644
File size: 844 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
[eab83af]5DEPENDENCIES = Common.o MessageProcessor.o Player.o WorldMap.o Projectile.o chat.o GuiComponent.o Window.o Textbox.o Button.o RadioButtonList.o TextLabel.o
[3f5616f]6
7gameClient : Client/main.cpp $(DEPENDENCIES)
8 $(CC) -o $@ $+ $(FLAGS)
9
[11402be]10Common.o : $(COMMON_PATH)/Common.cpp
11 $(CC) -c -o $@ $? $(FLAGS)
12
[eab83af]13MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
[3f5616f]14 $(CC) -c -o $@ $? $(FLAGS)
15
[edfd1d0]16Player.o : $(COMMON_PATH)/Player.cpp
17 $(CC) -c -o $@ $? $(FLAGS)
18
[eab83af]19WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
20 $(CC) -c -o $@ $? $(FLAGS)
21
22Projectile.o : $(COMMON_PATH)/Projectile.cpp
23 $(CC) -c -o $@ $? $(FLAGS)
24
[3f5616f]25%.o : Client/%.cpp
26 $(CC) -c -o $@ $? $(FLAGS)
27
28clean:
29 rm *.o
30 rm gameClient
Note: See TracBrowser for help on using the repository browser.