Compare commits
2 Commits
c8fe721e69
...
9403b481bc
Author | SHA1 | Date |
---|---|---|
Ariadne Conill | 9403b481bc | |
Ariadne Conill | 2c0c0e5d29 |
6
Makefile
6
Makefile
|
@ -20,7 +20,7 @@ endif
|
||||||
LIBDIR := /lib
|
LIBDIR := /lib
|
||||||
INCLUDEDIR := /usr/include
|
INCLUDEDIR := /usr/include
|
||||||
PKGCONFIGDIR := /usr/lib/pkgconfig
|
PKGCONFIGDIR := /usr/lib/pkgconfig
|
||||||
CFLAGS := -ggdb3 -O2 -Wall
|
CFLAGS ?= -ggdb3 -O2 -Wall
|
||||||
CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
|
CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
|
||||||
ifneq ($(shell uname),Darwin)
|
ifneq ($(shell uname),Darwin)
|
||||||
EXPORT_UNPREFIXED := yes
|
EXPORT_UNPREFIXED := yes
|
||||||
|
@ -31,12 +31,12 @@ endif
|
||||||
FREESTANDING := no
|
FREESTANDING := no
|
||||||
|
|
||||||
ifeq ($(FREESTANDING),yes)
|
ifeq ($(FREESTANDING),yes)
|
||||||
CFLAGS += -DFREESTANDING
|
CPPFLAGS += -DFREESTANDING
|
||||||
EXPORT_UNPREFIXED = no
|
EXPORT_UNPREFIXED = no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(EXPORT_UNPREFIXED),yes)
|
ifeq ($(EXPORT_UNPREFIXED),yes)
|
||||||
CFLAGS += -DEXPORT_UNPREFIXED
|
CPPFLAGS += -DEXPORT_UNPREFIXED
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
|
||||||
|
|
Loading…
Reference in New Issue