diff --git a/qw_client/Makefile b/qw_client/Makefile index ee3ab6f..0d21fe3 100644 --- a/qw_client/Makefile +++ b/qw_client/Makefile @@ -673,12 +673,7 @@ clean: clean-soft clean-gl @echo Done. clean-soft: - @-rm -f $(SOFT_TARGETS) - @-rm -f $(SOFT_OBJS) - @-rmdir $(BUILD_DIR)/soft_qw_obj + @-rm -f $(SOFT_TARGETS) $(BUILD_DIR)/soft_qw_obj clean-gl: - @-rm -f $(GL_TARGETS) - @-rm -f $(GL_OBJS) - @-rmdir $(BUILD_DIR)/gl_qw_obj - + @-rm -f $(GL_TARGETS) $(BUILD_DIR)/gl_qw_obj diff --git a/qw_server/Makefile b/qw_server/Makefile index 402c626..9e534e5 100644 --- a/qw_server/Makefile +++ b/qw_server/Makefile @@ -185,9 +185,7 @@ $(BUILD_DIR)/server_obj/pmovetst.o: $(QW_COMMON_DIR)/pmovetst.c ############################################################################# clean: - @-rm $(TARGETS) - @-rm $(SERVER_OBJS) - @-rmdir $(BUILD_DIR)/server_obj + @-rm $(TARGETS) $(BUILD_DIR)/server_obj @-rmdir $(BUILD_DIR) @echo Done.