khanat-opennel-code/code/ryzom/common/src/game_share/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

2010-05-06 00:08:41 +00:00
#############################################################################
# Simple make file for compiling GAME SHARE
#############################################################################
# Setting up the compiler settings...
# Global variables
include ../../../Variables.mk
# The flags for the C++ compiler
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
-I/usr/include/libxml2 \
-I/usr/include/mysql \
-I$(HOME)/code/nel/include \
-I$(HOME)/code/ryzom/common/src \
-I./ \
-I./character_structure \
-I./egs_sheets \
-I./entity_structure \
-I./game_item_manager
# The flags for the linker
LDFLAGS = $(LD_FLAGS_CMN) -L$(HOME)/install/$(DIR_DBG_$(DBG))/lib \
-llibmysqlclient \
-lnelnet \
-lnelgeorges \
-lnelpacs \
-L/usr/lib \
-L/usr/X11R6/lib \
-lnelmisc \
-lxml2 \
-lstlport \
-lpthread \
-lld
#############################################################################
# The bit that changes each time we cut paste and hack this file :o)
# The list of targets to build
TARGETS = libgame_share.a
DSP_TARGET = game_share.vcproj
# The default build rule
all: check-deps $(TARGETS)
#libgame_share.so: $(OBJS)
# $(CXX) -o $@ $(OBJS) -shared $(LDFLAGS)
libgame_share.a: $(OBJS)
ar r libgame_share.a $(OBJS)
#############################################################################
# Rules
include ../../../Rules.mk