16 lines
422 B
Makefile
16 lines
422 B
Makefile
|
|
include ../Makefile.param
|
|
|
|
INC_FLAGS +=-I$(OPEN_SOURCE_PATH)/iniparser/out
|
|
INC_FLAGS +=-I./include
|
|
SMP_SRCS += $(wildcard *.c)
|
|
SMP_SRCS += $(wildcard ./src/*.c)
|
|
SMP_SRCS += $(wildcard ./tools/iniparser/src/*.c)
|
|
TARGET := $(SMP_SRCS:%.c=%)
|
|
|
|
TARGET_PATH := $(PWD)
|
|
INIPARSER_LIB := $(OPEN_SOURCE_PATH)/iniparser/out/libiniparser.a
|
|
CFLAGS += $(INC_FLAGS)
|
|
# compile linux or LITEOS
|
|
include $(PWD)/../$(ARM_ARCH)_$(OSTYPE).mak
|