rnd-20031019-4-src
[rocksndiamonds.git] / src / libgame / Makefile
index c325fef5a5a28ea1768a25f4cb94302702d6d0d4..4d5b28c6b3eae4baadc7ddfe80b82ab7b7e874da 100644 (file)
@@ -1,31 +1,40 @@
-#=============================================================================#
-# Makefile for Rocks'n'Diamonds                                               #
-# (c) 1995-2000 Holger Schemel, info@artsoft.org                              #
-#=============================================================================#
-
-SRCS = libgame.c       \
-       private.c       \
-       system.c        \
+# =============================================================================
+# Rocks'n'Diamonds Makefile (libgame)
+# -----------------------------------------------------------------------------
+# (c) 1995-2003 Holger Schemel <info@artsoft.org>
+# =============================================================================
+
+# -----------------------------------------------------------------------------
+# configuration
+# -----------------------------------------------------------------------------
+
+SRCS = system.c        \
        gadgets.c       \
        text.c          \
        sound.c         \
+       joystick.c      \
+       toons.c         \
        pcx.c           \
        image.c         \
        random.c        \
+       hash.c          \
+       setup.c         \
        misc.c          \
        msdos.c         \
        x11.c           \
        sdl.c
 
-OBJS = libgame.o       \
-       private.o       \
-       system.o        \
+OBJS = system.o        \
        gadgets.o       \
        text.o          \
        sound.o         \
+       joystick.o      \
+       toons.o         \
        pcx.o           \
        image.o         \
        random.o        \
+       hash.o          \
+       setup.o         \
        misc.o          \
        msdos.o         \
        x11.o           \
@@ -34,6 +43,10 @@ OBJS =       libgame.o       \
 LIBGAME = libgame.a
 
 
+# -----------------------------------------------------------------------------
+# build targets
+# -----------------------------------------------------------------------------
+
 all: $(LIBGAME)
 
 $(LIBGAME): $(OBJS)
@@ -48,9 +61,9 @@ clean:
        $(RM) $(LIBGAME)
 
 
-#-----------------------------------------------------------------------------#
-# development only stuff                                                      #
-#-----------------------------------------------------------------------------#
+# -----------------------------------------------------------------------------
+# development only
+# -----------------------------------------------------------------------------
 
 depend:
        for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend