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