summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-04 14:12:55 +0000
committerMiles Bader <miles@gnu.org>1995-04-04 14:12:55 +0000
commit08c37e57274177500fd1bb3131bc0461dbac7d01 (patch)
treea292f8a5a020f554fa856981acb32f08654575c1 /utils
parent94c9c26e7a8020e8e64a49a2aa1ede4c0aeea651 (diff)
Add rule for the new settrans, and compile error.c correctly.
Diffstat (limited to 'utils')
-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