Changeset e708305 in network-game


Ignore:
Timestamp:
Jun 28, 2014, 2:11:57 AM (11 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
a0ce8a3
Parents:
3ea1839
Message:

Client makefile works on both linux and mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/makefile

    r3ea1839 re708305  
    11CC = g++
    2 #LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_main-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0`
     2FLAGS = -Wall -g
     3
     4UNAME_S := $(shell uname -s)
     5
     6LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_main-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0`
     7
    38# osx needs to link against some extra libraries
    4 LIB_FLAGS = `pkg-config --cflags --libs --static allegro-static-5.0 allegro_main-static-5.0 allegro_ttf-static-5.0 allegro_primitives-static-5.0` -framework AppKit -framework IOKit -framework OpenGL -framework AGL -framework OpenAL
    5 FLAGS = -Wall -g
     9ifeq ($(UNAME_S),Darwin)
     10        LIB_FLAGS += -framework AppKit -framework IOKit -framework OpenGL -framework AGL -framework OpenAL
     11endif
     12
    613COMMON_PATH = ../common
    714DEPENDENCIES = 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
Note: See TracChangeset for help on using the changeset viewer.