32 lines
389 B
Makefile
Executable File
32 lines
389 B
Makefile
Executable File
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|