Last change
on this file since ad5d122 was 11402be, checked in by Dmitry Portnoy <dmp1488@…>, 12 years ago |
Added Common.o to the client makefile
|
-
Property mode
set to
100644
|
File size:
619 bytes
|
Line | |
---|
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`
|
---|
3 | FLAGS = $(LIB_FLAGS)
|
---|
4 | COMMON_PATH = ../common
|
---|
5 | DEPENDENCIES = Common.o Message.o Player.o chat.o GuiComponent.o Window.o Textbox.o Button.o
|
---|
6 |
|
---|
7 | gameClient : Client/main.cpp $(DEPENDENCIES)
|
---|
8 | $(CC) -o $@ $+ $(FLAGS)
|
---|
9 |
|
---|
10 | Common.o : $(COMMON_PATH)/Common.cpp
|
---|
11 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
12 |
|
---|
13 | Message.o : $(COMMON_PATH)/Message.cpp
|
---|
14 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
15 |
|
---|
16 | Player.o : $(COMMON_PATH)/Player.cpp
|
---|
17 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
18 |
|
---|
19 | %.o : Client/%.cpp
|
---|
20 | $(CC) -c -o $@ $? $(FLAGS)
|
---|
21 |
|
---|
22 | clean:
|
---|
23 | rm *.o
|
---|
24 | rm gameClient
|
---|
Note:
See
TracBrowser
for help on using the repository browser.