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 xsysmonpsu_libs clean
25 ${COMPILER} $(CC_FLAGS) $(ECC_FLAGS) $(INCLUDES) -o $@ $<
28 echo "Compiling sysmonpsu"
30 xsysmonpsu_libs: ${OBJECTS}
31 $(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OBJECTS}
34 include: xsysmonpsu_includes
37 ${CP} ${INCLUDEFILES} ${INCLUDEDIR}