Changeset 3f5616f in network-game for client/makefile


Ignore:
Timestamp:
Dec 24, 2012, 10:13:43 PM (12 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
baaf6c8
Parents:
cdb4bec
git-author:
Dmitry Portnoy <dportnoy@…> (12/24/12 22:11:06)
git-committer:
Dmitry Portnoy <dmp1488@…> (12/24/12 22:13:43)
Message:

Changed the client makefile to use static linking for the allegro library and fixed a bug where button and textbox borders would display incorrectly on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/makefile

    rcdb4bec r3f5616f  
    1 gameClient : ../common/Message.cpp Client/main.cpp
    2         g++ -o $@ $?
     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
     5DEPENDENCIES = Message.o chat.o GuiComponent.o Window.o Textbox.o Button.o
     6
     7gameClient : Client/main.cpp $(DEPENDENCIES)
     8        $(CC) -o $@ $+ $(FLAGS)
     9
     10Message.o : $(COMMON_PATH)/Message.cpp
     11        $(CC) -c -o $@ $? $(FLAGS)
     12
     13%.o : Client/%.cpp
     14        $(CC) -c -o $@ $? $(FLAGS)
     15
     16clean:
     17        rm *.o
     18        rm gameClient
Note: See TracChangeset for help on using the changeset viewer.