-#=============================================================================#
-# 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 \
pcx.c \
image.c \
random.c \
+ hash.c \
setup.c \
misc.c \
msdos.c \
pcx.o \
image.o \
random.o \
+ hash.o \
setup.o \
misc.o \
msdos.o \
LIBGAME = libgame.a
+# -----------------------------------------------------------------------------
+# build targets
+# -----------------------------------------------------------------------------
+
all: $(LIBGAME)
$(LIBGAME): $(OBJS)
$(RM) $(LIBGAME)
-#-----------------------------------------------------------------------------#
-# development only stuff #
-#-----------------------------------------------------------------------------#
+# -----------------------------------------------------------------------------
+# development only
+# -----------------------------------------------------------------------------
depend:
for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend