8 CC_FLAGS = $(COMPILER_FLAGS)
9 ECC_FLAGS = $(EXTRA_COMPILER_FLAGS)
11 RELEASEDIR=../../../lib
12 INCLUDEDIR=../../../include
13 INCLUDES=-I./. -I${INCLUDEDIR}
20 OBJECTS = $(addsuffix .o, $(basename $(wildcard *.c)))
22 libs: banner xcanps_libs clean
25 ${COMPILER} $(CC_FLAGS) $(ECC_FLAGS) $(INCLUDES) -o $@ $<
28 echo "Compiling canps"
30 xcanps_libs: ${OBJECTS}
31 $(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OBJECTS}
34 include: xcanps_includes
37 ${CP} ${INCLUDEFILES} ${INCLUDEDIR}