summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile
index b4c775d3..fd2cd4af 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -25,11 +25,13 @@ DIST_FILES = sh.ChangeLog ps.ChangeLog
HURDLIBS=libps # Only used by ps.
CPPFLAGS += -I../lib
-
+CPPFLAGS += $(CPPFLAGS-$(notdir $<))
vpath %.c ../lib
include ../Makeconf
+settrans: settrans.o start-trans.o argz.o error.o
+
ps: ps.o ihash.o primes.o error.o $(HURDLIBS-files) $(libc)
- $(CC) $(CFLAGS) $(LDFLAGS) -o ps ps.o ihash.o primes.o error.o $(HURDLIBS-files)
+CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR