summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index ddf1f185e..3cbebd46c 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -46,6 +46,7 @@ GUNZIP = ../isys/gzlib/libgunzip-diet.a
OBJS += dietstubs.o ctype.o
ISYSLIB += -lrpc
+CTYPEDEP = ctype.c
endif
ifeq (i386, $(ARCH))
@@ -109,7 +110,7 @@ clean:
rm -f *.o *~ .depend init ctype.c mkctype \
loader
-depend: ctype.c
+depend: $(CTYPEDEP)
$(CPP) $(CFLAGS) -DHAVE_CONFIG_H -M $(SOURCES) > .depend
install: all