summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-02-23 14:47:00 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-23 14:47:00 +0000
commit2bc8658e85e2cb29daa1be362a42b8234aff7c74 (patch)
treee43caf218fa17f578972453abfd88b06578f965d /Makefile
parent3637f0b37894381e2dec6196001f8069e32dcb6b (diff)
downloadgcompat-2bc8658e85e2cb29daa1be362a42b8234aff7c74.tar.gz
gcompat-2bc8658e85e2cb29daa1be362a42b8234aff7c74.tar.bz2
gcompat-2bc8658e85e2cb29daa1be362a42b8234aff7c74.tar.xz
gcompat-2bc8658e85e2cb29daa1be362a42b8234aff7c74.zip
libgcompat: add internal api for GCOMPAT__panic().
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b6bee29..0b4e76c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ LIBGCOMPAT_SRC = \
libgcompat/execinfo.c \
libgcompat/gnulib.c \
libgcompat/grp.c \
+ libgcompat/internal.c \
libgcompat/malloc.c \
libgcompat/math.c \
libgcompat/misc.c \
@@ -53,6 +54,7 @@ ${LOADER_NAME}: ${LOADER_OBJ}
.c.o:
$(CC) -c -D_BSD_SOURCE -DLIBGCOMPAT=\"${LIBGCOMPAT_PATH}\" \
-DLINKER=\"${LINKER_PATH}\" -DLOADER=\"${LOADER_NAME}\" \
+ -Ilibgcompat \
-fPIC -std=c99 -Wall -Wextra -Wno-frame-address \
-Wno-unused-parameter ${CFLAGS} ${CPPFLAGS} -o $@ $<