M7350/wlan/8192es/DriverSrcPkg/Users/utility/Makefile

32 lines
389 B
Makefile
Raw Normal View History

2024-09-09 08:59:52 +00:00
INCS = -I$(TOP_USERS_DIR)/include
CFLAGS := -Os -Wall $(CFLAGS) $(INCS)
LDFLAGS += -g -s
#CC = $(CROSS_COMPILE)gcc
#AR = $(CROSS_COMPILE)ar
CFLAGS += -DCONFIG_IEEE80211W
#CFLAGS += -DCONFIG_NEW_SCRIPT
all: webs flash
webs: webs.o
$(CC) -o $@ $^ $(LDFLAGS)
cp -p ./webs ../bin/
flash: flash.o
$(CC) -o $@ $^ $(LDFLAGS)
cp -p ./flash ../bin/
clean:
rm -f *.o webs flash