install from Makefile
This commit is contained in:
4
Makefile
4
Makefile
@ -2,7 +2,7 @@ WIZCHIP?=W5500
|
||||
ENABLE_DHCP?=yes
|
||||
ENABLE_DNS?=yes
|
||||
ENABLE_HTTPSERVER?=yes
|
||||
ENABLE_MQTT?=yes
|
||||
ENABLE_MQTT?=no
|
||||
ENABLE_SNTP?=yes
|
||||
|
||||
CFLAGS?=-mcpu=cortex-m3 -mthumb -Og -fdata-sections -ffunction-sections -g -gdwarf-2
|
||||
@ -51,9 +51,9 @@ endif
|
||||
|
||||
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
$(AR) rcs w5500.a $^
|
||||
cp w5500.a ../build/
|
||||
|
||||
$(OBJDIR)/%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
Reference in New Issue
Block a user