diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile | 6 | ||||
-rw-r--r-- | utils/sysdeps/Makefile | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile index a7eb352..d4b384d 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -68,9 +68,13 @@ $(DESTDIR)$(SBINDIR) $(DESTDIR)$(RULESDIR): clean: $(RM) $(OBJS) $(RM) $(PROGRAMS) + $(RM) .depend + +distclean: $(RM) $(SCRIPTS_GENERATED) $(RM) $(RULESFILES_GENERATED) - $(RM) .depend + +.PHONY: all install clean distclean depend install_udev_rules depend: $(CC) $(CFLAGS) -M `ls *.c` > .depend diff --git a/utils/sysdeps/Makefile b/utils/sysdeps/Makefile index 3387b57..d419dba 100644 --- a/utils/sysdeps/Makefile +++ b/utils/sysdeps/Makefile @@ -10,6 +10,10 @@ all: $(SYSDEPS_OBJS) clean: $(RM) *.o .depend +distclean: ; + +.PHONY: all clean distclean depend + depend: $(CC) $(CFLAGS) -M `ls *.c` > .depend |