Browse Source

DIRS was not set in this makefile and could be inherited from the
environment.

David McCullough 23 years ago
parent
commit
25b20c5146
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libc/unistd/Makefile

+ 4 - 0
libc/unistd/Makefile

@@ -23,6 +23,7 @@
 TOPDIR=../
 include $(TOPDIR)Rules.mak
 LIBC=$(TOPDIR)libc.a
+DIRS:=
 
 CSRC=execl.c execlp.c execv.c execvep.c execvp.c getcwd.c getopt.c \
 	sleep.c getpass.c sysconf_src.c
@@ -100,6 +101,9 @@ $(patsubst %, _dir_%, $(DIRS)) : dummy
 $(patsubst %, _dirclean_%, $(DIRS)) : dummy
 	$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
 
+.PHONY: dummy
+dummy:
+
 clean:
 	rm -f *.[oa] *~ core gen_sysconf sysconf_*.c