Fix Makefile-based builds

This commit is contained in:
Dirk Ziegelmeier 2018-10-12 20:42:46 +02:00
parent 39162c2d0c
commit e16cc67b70
2 changed files with 33 additions and 29 deletions

View File

@ -32,6 +32,8 @@
all compile: lwip_unittests all compile: lwip_unittests
.PHONY: all clean check .PHONY: all clean check
LWIPDIR=../../../../src
# The include path to sys_arch.h and lwipopts.h must be first, so this must be before Common.mk # The include path to sys_arch.h and lwipopts.h must be first, so this must be before Common.mk
CFLAGS=-DLWIP_NOASSERT_ON_ERROR -I/usr/include/check -I$(LWIPDIR)/../test/unit CFLAGS=-DLWIP_NOASSERT_ON_ERROR -I/usr/include/check -I$(LWIPDIR)/../test/unit

View File

@ -32,6 +32,8 @@
all compile: example_app makefsdata all compile: example_app makefsdata
.PHONY: all .PHONY: all
LWIPDIR=../../../../src
include ../Common.mk include ../Common.mk
CFLAGS+=-I$(CONTRIBDIR)/examples/example_app CFLAGS+=-I$(CONTRIBDIR)/examples/example_app