rnd-20140515-1-src
[rocksndiamonds.git] / src / libgame / Makefile
index 2eb6dda4bc8d7bdb732a1e01a12037de22b5ca4c..623535279962f9d31733d00c4b35d12ef69efe78 100644 (file)
@@ -1,13 +1,19 @@
-#=============================================================================#
-# Makefile for Artsoft Retro-Game Library                                     #
-# (c) 1994-2002 Holger Schemel, info@artsoft.org                              #
-#=============================================================================#
+# =============================================================================
+# Rocks'n'Diamonds Makefile (libgame)
+# -----------------------------------------------------------------------------
+# (c) 1995-2006 Holger Schemel <info@artsoft.org>
+# =============================================================================
+
+# -----------------------------------------------------------------------------
+# configuration
+# -----------------------------------------------------------------------------
 
 SRCS = system.c        \
        gadgets.c       \
        text.c          \
        sound.c         \
        joystick.c      \
+       snapshot.c      \
        toons.c         \
        pcx.c           \
        image.c         \
@@ -15,7 +21,6 @@ SRCS =        system.c        \
        hash.c          \
        setup.c         \
        misc.c          \
-       msdos.c         \
        x11.c           \
        sdl.c
 
@@ -23,6 +28,7 @@ OBJS =        system.o        \
        gadgets.o       \
        text.o          \
        sound.o         \
+       snapshot.o      \
        joystick.o      \
        toons.o         \
        pcx.o           \
@@ -31,13 +37,16 @@ OBJS =      system.o        \
        hash.o          \
        setup.o         \
        misc.o          \
-       msdos.o         \
        x11.o           \
        sdl.o
 
 LIBGAME = libgame.a
 
 
+# -----------------------------------------------------------------------------
+# build targets
+# -----------------------------------------------------------------------------
+
 all: $(LIBGAME)
 
 $(LIBGAME): $(OBJS)
@@ -52,9 +61,9 @@ clean:
        $(RM) $(LIBGAME)
 
 
-#-----------------------------------------------------------------------------#
-# development only stuff                                                      #
-#-----------------------------------------------------------------------------#
+# -----------------------------------------------------------------------------
+# development only
+# -----------------------------------------------------------------------------
 
 depend:
        for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend