SmartAudio/package/allwinner/wifimanager/daemon-demo/Makefile

20 lines
556 B
Makefile
Executable File

include $(TOPDIR)/rules.mk
include $(TINA_BUILD_TOP)/package/netease/Makefile.common
include $(TINA_BUILD_TOP)/build/nls.mk
INCLUDES += -I$(CONFIG_PREFIX)/usr/include \
-I ../src/include
local_LDFLAGS := $(BUILD_COMMON_LIB)
install:
-@mkdir -p $(CONFIG_PREFIX)/usr/bin
wifid: wifid_cmd.c
$(CC) -o $@ $^ $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(local_LDFLAGS) -L$(CONFIG_PREFIX)/usr/lib -lwifid -lwifimg
@cp -f wifid $(CONFIG_PREFIX)/usr/bin
####################################################################
all: install wifid
clean:
rm -rf wifid