install from Makefile

This commit is contained in:
2020-11-11 22:30:06 +01:00
parent f8730808d1
commit 27f646860d

View File

@ -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 $@