mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-28 01:36:36 +00:00
46 lines
1.1 KiB
Makefile
46 lines
1.1 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.. \
|
|
-I.
|
|
|
|
LDFLAGS = $(LD_FLAGS_CMN) \
|
|
-L$(NEL_PATH)/lib \
|
|
-L$(RYZOM_COMMON_SRC)/game_share \
|
|
-lnelnet \
|
|
-L/usr/lib \
|
|
-L/usr/X11R6/lib \
|
|
-lnelmisc \
|
|
-lxml2 \
|
|
-lpthread \
|
|
-lgame_share
|
|
|
|
#############################################################################
|
|
# The bit that changes each time we cut paste and hack this file :o)
|
|
|
|
# The list of targets to build
|
|
TARGETS = libpd_lib.a
|
|
DSP_TARGET = pd_lib.vcproj
|
|
|
|
# The default build rule
|
|
all: check-deps $(TARGETS)
|
|
|
|
|
|
#libgame_share.so: $(OBJS)
|
|
# $(CXX) -o $@ $(OBJS) -shared $(LDFLAGS)
|
|
|
|
libpd_lib.a: $(OBJS)
|
|
ar r libpd_lib.a $(OBJS)
|
|
|
|
#############################################################################
|
|
# Rules
|
|
|
|
include ../../../Rules.mk
|