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