cleanup of unnecessarily convoluted function call
[rocksndiamonds.git] / src / game_bd / Makefile
index 74852038bb74fdf760bcb71512ce6450cba5c1e6..aa212f9909819a6790fdf80a98bf6e2e703f4436 100644 (file)
@@ -1,7 +1,7 @@
 # =============================================================================
 # Rocks'n'Diamonds - McDuffin Strikes Back!
 # -----------------------------------------------------------------------------
-# (c) 1995-2023 by Artsoft Entertainment
+# (c) 1995-2024 by Artsoft Entertainment
 #                  Holger Schemel
 #                  info@artsoft.org
 #                  https://www.artsoft.org/
 # configuration
 # -----------------------------------------------------------------------------
 
-SRCS = main_bd.c
+SRCS = main_bd.c       \
+       bd_cave.c       \
+       bd_cavedb.c     \
+       bd_caveengine.c \
+       bd_caveobject.c \
+       bd_bdcff.c      \
+       bd_caveset.c    \
+       bd_c64import.c  \
+       bd_gameplay.c   \
+       bd_graphics.c   \
+       bd_colors.c     \
+       bd_random.c     \
+       bd_sound.c
 
-OBJS = main_bd.o
+OBJS = main_bd.o       \
+       bd_cave.o       \
+       bd_cavedb.o     \
+       bd_caveengine.o \
+       bd_caveobject.o \
+       bd_bdcff.o      \
+       bd_caveset.o    \
+       bd_c64import.o  \
+       bd_gameplay.o   \
+       bd_graphics.o   \
+       bd_colors.o     \
+       bd_random.o     \
+       bd_sound.o
 
 GAME_BD = game_bd.a
 
@@ -48,6 +72,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