Last change
on this file since 1e250bf was 1e250bf, checked in by Dmitry Portnoy <dmp1488@…>, 11 years ago |
Client makefile is up-to-date and includes -Wall
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[3f5616f] | 1 | CC = g++
|
---|
| 2 | LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0`
|
---|
[1e250bf] | 3 | FLAGS = -Wall
|
---|
[3f5616f] | 4 | COMMON_PATH = ../common
|
---|
[8aed9c0] | 5 | DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o Projectile.o Game.o GameRender.o GameSummary.o chat.o GuiComponent.o Window.o Textbox.o Button.o RadioButtonList.o TextLabel.o
|
---|
[3f5616f] | 6 |
|
---|
| 7 | gameClient : Client/main.cpp $(DEPENDENCIES)
|
---|
[1e250bf] | 8 | $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
|
---|
| 9 |
|
---|
| 10 | %.o : Client/%.cpp
|
---|
| 11 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
[3f5616f] | 12 |
|
---|
[11402be] | 13 | Common.o : $(COMMON_PATH)/Common.cpp
|
---|
| 14 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 15 |
|
---|
[50643fa] | 16 | MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
|
---|
| 17 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 18 |
|
---|
[eab83af] | 19 | MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
|
---|
[3f5616f] | 20 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 21 |
|
---|
[edfd1d0] | 22 | Player.o : $(COMMON_PATH)/Player.cpp
|
---|
| 23 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 24 |
|
---|
[eab83af] | 25 | WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
|
---|
| 26 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 27 |
|
---|
| 28 | Projectile.o : $(COMMON_PATH)/Projectile.cpp
|
---|
| 29 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 30 |
|
---|
[50643fa] | 31 | Game.o : $(COMMON_PATH)/Game.cpp
|
---|
| 32 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 33 |
|
---|
[8aed9c0] | 34 | GameSummary.o : $(COMMON_PATH)/GameSummary.cpp
|
---|
| 35 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
| 36 |
|
---|
[3f5616f] | 37 | clean:
|
---|
| 38 | rm *.o
|
---|
| 39 | rm gameClient
|
---|
Note:
See
TracBrowser
for help on using the repository browser.