"gmake clobber" should remove $(OBJDIR) too.
authorwtc
Sat, 25 Apr 1998 16:14:33 +0000
changeset 65 30c402c4be5b0cab881c883771c9f1e7014d6cf0
parent 64 355213f9e73ab47446465f606a737ad6a901d4b1
child 69 6bfa4213caf2d9dddcb41ed3ae45b13d6acb6e67
push idunknown
push userunknown
push dateunknown
"gmake clobber" should remove $(OBJDIR) too.
config/rules.mk
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -175,32 +175,32 @@ libs::
 install::
 	+$(LOOP_OVER_DIRS)
 
 clean::
 	rm -rf $(OBJS) so_locations $(NOSUCHFILE)
 	+$(LOOP_OVER_DIRS)
 
 clobber::
-	rm -f $(OBJS) $(TARGETS) $(GARBAGE) so_locations $(NOSUCHFILE)
+	rm -rf $(OBJS) $(TARGETS) $(OBJDIR) $(GARBAGE) so_locations $(NOSUCHFILE)
 	+$(LOOP_OVER_DIRS)
 
 realclean clobber_all::
 	rm -rf $(wildcard *.OBJ *.OBJD) dist $(ALL_TRASH)
 	+$(LOOP_OVER_DIRS)
 
 release:: export
 ifdef RELEASE_LIBS
 	@echo "Copying libraries to release directory"
 	@if test -z "$(BUILD_NUMBER)"; then \
 		echo "BUILD_NUMBER must be defined"; \
 		false; \
 	fi
 	@if test ! -d $(RELEASE_LIB_DIR); then \
-		rm -f $(RELEASE_LIB_DIR); \
+		rm -rf $(RELEASE_LIB_DIR); \
 		$(NSINSTALL) -D $(RELEASE_LIB_DIR);\
 	fi
 	cp $(RELEASE_LIBS) $(RELEASE_LIB_DIR)
 endif
 ifdef RELEASE_HEADERS
 	@echo "Copying header files to release directory"
 	@if test -z "$(BUILD_NUMBER)"; then \
 		echo "BUILD_NUMBER must be defined"; \