X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2FMakefile;h=d7080ae8045152764e44adcafae4b3e14d637da1;hb=897c46a2720672a49ce6d0803b08eed23fd2dd90;hp=b756b27d4f830429fc44b5b1498ba889f1d454be;hpb=e582c697ddb8c9cd9d5d345beaf83c1916b849fa;p=rocksndiamonds.git diff --git a/src/libgame/Makefile b/src/libgame/Makefile index b756b27d..d7080ae8 100644 --- a/src/libgame/Makefile +++ b/src/libgame/Makefile @@ -1,52 +1,76 @@ -#=============================================================================# -# Makefile for Artsoft Retro-Game Library # -# (c) 1994-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 \ image.c \ random.c \ + hash.c \ + setup.c \ misc.c \ - msdos.c \ - x11.c \ - sdl.c + sdl.c \ + zip/ioapi.c \ + zip/iowin32.c \ + zip/unzip.c \ + zip/miniunz.c OBJS = system.o \ gadgets.o \ text.o \ sound.o \ - pcx.o \ + snapshot.o \ + joystick.o \ image.o \ random.o \ + hash.o \ + setup.o \ misc.o \ - msdos.o \ - x11.o \ - sdl.o + sdl.o \ + zip/ioapi.o \ + zip/iowin32.o \ + zip/unzip.o \ + zip/miniunz.o LIBGAME = libgame.a +# ----------------------------------------------------------------------------- +# build targets +# ----------------------------------------------------------------------------- + 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) $(RM) $(LIBGAME) -#-----------------------------------------------------------------------------# -# development only stuff # -#-----------------------------------------------------------------------------# +# ----------------------------------------------------------------------------- +# development only +# ----------------------------------------------------------------------------- depend: for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend