summaryrefslogtreecommitdiff
path: root/ruth/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ruth/Makefile.am')
-rw-r--r--ruth/Makefile.am14
1 files changed, 5 insertions, 9 deletions
diff --git a/ruth/Makefile.am b/ruth/Makefile.am
index 06a13a5..c57dd7c 100644
--- a/ruth/Makefile.am
+++ b/ruth/Makefile.am
@@ -21,13 +21,9 @@
bootdir = $(prefix)/boot
boot_PROGRAMS = ruth
-COMMON_CPPFLAGS = -Wall -g -std=gnu99 -D_GNU_SOURCE -I$(srcdir) \
- -I$@LIBC@/include -I$(top_builddir)/include \
- -I$(top_srcdir)/libc-parts
+ruth_CPPFLAGS = $(USER_CPPFLAGS)
+ruth_CFLAGS = $(USER_CFLAGS)
+ruth_LDFLAGS = $(USER_LDFLAGS)
+ruth_LDADD = $(USER_LDADD)
-ruth_CPPFLAGS = $(COMMON_CPPFLAGS)
-ruth_SOURCES = ruth.h ruth.c
-
-ruth_LDFLAGS = -u_start -e_start -nostdlib
-
-ruth_LDADD = $(top_builddir)/libc.a
+ruth_SOURCES = ruth.c