added Makefile targets to clean up header dependency files
[rocksndiamonds.git] / src / game_mm / Makefile
index 270ab7d176bb9ca594f998acb0788df2e2a24ca4..c979def407126aeabc56aa93dcfa241675a1057a 100644 (file)
@@ -4,7 +4,7 @@
 # (c) 1989-2017 by Artsoft Entertainment
 #                  Holger Schemel
 #                  info@artsoft.org
-#                  http://www.artsoft.org/
+#                  https://www.artsoft.org/
 # -----------------------------------------------------------------------------
 # The native Mirror Magic game engine is based on:
 # - Mirror Magic II by Holger Schemel (Linux/DOS/Windows version, 1995)
@@ -39,7 +39,7 @@ GAME_MM = game_mm.a
 all: $(GAME_MM)
 
 $(GAME_MM): $(OBJS)
-       $(AR) cru $(GAME_MM) $(OBJS)
+       $(AR) cr $(GAME_MM) $(OBJS)
        $(RANLIB) $(GAME_MM)
 
 .c.o:
@@ -57,6 +57,9 @@ clean:
 depend:
        for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend
 
+depend-clean:
+       $(RM) .depend
+
 ifeq (.depend,$(wildcard .depend))
 include .depend
 endif