mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 01:18:46 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
#############################################################################
|
|
# 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$(NEL_INCLUDE) \
|
|
-I$(RYZOM_COMMON_SRC) \
|
|
-I..
|
|
|
|
LDFLAGS = $(LD_FLAGS_CMN) \
|
|
-L$(NEL_PATH)/lib \
|
|
-L$(RYZOM_COMMON_SRC)/game_share \
|
|
-lgame_share \
|
|
-lnelnet \
|
|
-lnelmisc \
|
|
-lxml2
|
|
|
|
# The flags for the linker
|
|
LDFLAGS2 = -L$(HOME)/install/$(DIR_DBG_$(DBG))/lib \
|
|
-lnelnet \
|
|
-lnelgeorges \
|
|
-lnelpacs \
|
|
-L/usr/lib \
|
|
-L/usr/X11R6/lib \
|
|
-L$(HOME)/cvs/code/ryzom/src_v2/game_share \
|
|
-lnelmisc \
|
|
-lxml2 \
|
|
-lstlport \
|
|
-lpthread
|
|
|
|
#############################################################################
|
|
# The bit that changes each time we cut paste and hack this file :o)
|
|
|
|
# The list of targets to build
|
|
TARGETS = libai_share.a
|
|
DSP_TARGET = ai_share.vcproj
|
|
|
|
# The default build rule
|
|
all: check-deps $(TARGETS)
|
|
|
|
#libgame_share.so: $(OBJS)
|
|
# $(CXX) -o $@ $(OBJS) -shared $(LDFLAGS)
|
|
|
|
libai_share.a: $(OBJS)
|
|
ar r libai_share.a $(OBJS)
|
|
|
|
#############################################################################
|
|
# Rules
|
|
|
|
include ../../../Rules.mk
|