# =============================================================================
-# Rocks'n'Diamonds Makefile (libgame)
+# Rocks'n'Diamonds - McDuffin Strikes Back!
# -----------------------------------------------------------------------------
-# (c) 1995-2006 Holger Schemel <info@artsoft.org>
+# (c) 1995-2014 by Artsoft Entertainment
+# Holger Schemel
+# info@artsoft.org
+# http://www.artsoft.org/
+# -----------------------------------------------------------------------------
+# src/libgame/Makefile
# =============================================================================
# -----------------------------------------------------------------------------
sound.c \
joystick.c \
snapshot.c \
- toons.c \
image.c \
random.c \
hash.c \
setup.c \
misc.c \
- sdl.c
+ sdl.c \
+ zip/ioapi.c \
+ zip/iowin32.c \
+ zip/unzip.c \
+ zip/miniunz.c
OBJS = system.o \
gadgets.o \
sound.o \
snapshot.o \
joystick.o \
- toons.o \
image.o \
random.o \
hash.o \
setup.o \
misc.o \
- sdl.o
+ sdl.o \
+ zip/ioapi.o \
+ zip/iowin32.o \
+ zip/unzip.o \
+ zip/miniunz.o
LIBGAME = libgame.a
all: $(LIBGAME)
$(LIBGAME): $(OBJS)
- $(AR) cru $(LIBGAME) $(OBJS)
+ $(AR) cr $(LIBGAME) $(OBJS)
$(RANLIB) $(LIBGAME)
.c.o:
- $(CC) $(PROFILING) $(CFLAGS) -c $*.c
+ $(CC) $(PROFILING) $(CFLAGS) -c $*.c -o $*.o
clean:
$(RM) $(OBJS)