You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ryzom-core/code/ryzom/client/src/Makefile

80 lines
1.9 KiB
Makefile

15 years ago
#############################################################################
# Simple make file for compiling Ryzom client
#############################################################################
# Setting up the compiler settings...
# Global variables
include ../../Variables.mk
WWWFLAGS = $(shell libwww-config --cflags)
WWWLDFLAGS = $(shell libwww-config --libs)
LUAFLAGS = $(shell pkg-config lua5.1 --cflags)
LUALDFLAGS = $(shell pkg-config lua5.1 --libs)
15 years ago
# The flags for the C++ compiler
CXXFLAGS = $(WWWFLAGS) $(LUAFLAGS) \
$(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
-I/usr/include/libxml2 \
-I$(RYZOM_PATH)/../../code/luabind \
-I$(NEL_INCLUDE) \
15 years ago
-I$(RYZOM_PATH)/common/src \
-I$(RYZOM_PATH)/client/src/seven_zip \
-I.. \
-I.
LDFLAGS = $(WWWLDFLAGS) $(LUALDFLAGS) $(LD_FLAGS_CMN) \
-L$(NEL_PATH)/lib \
-L$(RYZOM_PATH)/common/src/game_share \
-L$(RYZOM_PATH)/client/src/client_sheets \
-L$(RYZOM_PATH)/client/src/seven_zip \
-lclient_sheets \
-lseven_zip \
15 years ago
-lgame_share \
-Wl,--start-group -lnel_drv_opengl -lnel3d -Wl,--end-group \
-Wl,--start-group -lnel_drv_openal -lnelsnd -Wl,--end-group \
15 years ago
-lnelpacs \
-lnelligo \
-lnelgeorges \
-lnelnet \
-lnelmisc \
-lfreetype \
15 years ago
-lxml2 \
-ljpeg \
-lpng \
-lrt \
-ldl \
-lluabind \
-lopenal \
15 years ago
-lcurl \
-lGL \
15 years ago
-lX11
#############################################################################
# The bit that changes each time we cut paste and hack this file :o)
# The list of targets to build
TARGETS = client
DSP_TARGET = $(TARGETS).vcproj
# The default build rule
all: client_sheets seven_zip exe
exe: check-deps $(TARGETS)
$(TARGETS): $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
cp -a $(TARGETS) $(TARGETS)_debug
strip $(TARGETS)
client_sheets:
make $(MAKE_ALL_ARGS) -C client_sheets all
15 years ago
seven_zip:
make $(MAKE_ALL_ARGS) -C seven_zip all
15 years ago
#############################################################################
# Rules
include ../../Rules.mk