forked from ariadne/libucontext
build: split CFLAGS/CPPFLAGS correctly
parent
938d0d5771
commit
02470ccdd8
3
Makefile
3
Makefile
|
@ -4,7 +4,8 @@ ifeq ($(ARCH),$(filter $(ARCH),i386 i686))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBDIR := /lib
|
LIBDIR := /lib
|
||||||
CFLAGS = -ggdb3 -O2 -Wall -Iarch/${ARCH} -Iarch/common
|
CFLAGS := -ggdb3 -O2 -Wall
|
||||||
|
CPPFLAGS := -Iarch/${ARCH} -Iarch/common
|
||||||
|
|
||||||
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
||||||
LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
|
LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
|
||||||
|
|
Loading…
Reference in New Issue