don't call mkdep with an absolute path

This commit is contained in:
Ben Gras
2007-02-08 16:26:20 +00:00
parent df9326a340
commit 9f2f3dd488
31 changed files with 31 additions and 31 deletions

View File

@@ -44,7 +44,7 @@ clean:
depend:
cd system && $(MAKE) -$(MAKEFLAGS) $@
cd $a && $(MAKE) $@
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
# How to build it
.c.o:

View File

@@ -29,7 +29,7 @@ $(ARCHAR): $(OBJS)
aal cr $@ *.o
depend:
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c *.s > .depend
mkdep "$(CC) -E $(CPPFLAGS)" *.c *.s > .depend
clean:
rm -f *.a *.o *~

View File

@@ -62,7 +62,7 @@ clean:
rm -f $(SYSTEM) *.o *~ *.bak
depend:
/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
# Include generated dependencies.
include .depend