-#=============================================================================#
-# Makefile for Rocks'n'Diamonds #
-# (c) 1995-2000 Holger Schemel, info@artsoft.org #
-#=============================================================================#
+# =============================================================================
+# Rocks'n'Diamonds - McDuffin Strikes Back!
+# -----------------------------------------------------------------------------
+# (c) 1995-2014 by Artsoft Entertainment
+# Holger Schemel
+# info@artsoft.org
+# http://www.artsoft.org/
+# -----------------------------------------------------------------------------
+# src/libgame/Makefile
+# =============================================================================
+
+# -----------------------------------------------------------------------------
+# configuration
+# -----------------------------------------------------------------------------
SRCS = system.c \
gadgets.c \
text.c \
sound.c \
- pcx.c \
+ joystick.c \
+ snapshot.c \
+ toons.c \
image.c \
random.c \
+ hash.c \
+ setup.c \
misc.c \
- msdos.c \
- x11.c \
sdl.c
OBJS = system.o \
gadgets.o \
text.o \
sound.o \
- pcx.o \
+ snapshot.o \
+ joystick.o \
+ toons.o \
image.o \
random.o \
+ hash.o \
+ setup.o \
misc.o \
- msdos.o \
- x11.o \
sdl.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