X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2FMakefile;h=140e9fd9a5bb6aebd65b494ce3363042b361ecc4;hb=a7c06161253796a30a0237a7f5a044f459c8cf35;hp=c9e2de4ee76ac515c237b29669f79678a319b176;hpb=3d07b68a314ce189f207e42d95f786979662410d;p=rocksndiamonds.git diff --git a/src/libgame/Makefile b/src/libgame/Makefile index c9e2de4e..140e9fd9 100644 --- a/src/libgame/Makefile +++ b/src/libgame/Makefile @@ -1,15 +1,25 @@ -#=============================================================================# -# Makefile for Rocks'n'Diamonds # -# (c) 1995-2000 Holger Schemel, info@artsoft.org # -#=============================================================================# +# ============================================================================= +# Rocks'n'Diamonds Makefile (libgame) +# ----------------------------------------------------------------------------- +# (c) 1995-2006 Holger Schemel +# ============================================================================= + +# ----------------------------------------------------------------------------- +# configuration +# ----------------------------------------------------------------------------- SRCS = system.c \ gadgets.c \ text.c \ sound.c \ + joystick.c \ + snapshot.c \ + toons.c \ pcx.c \ image.c \ random.c \ + hash.c \ + setup.c \ misc.c \ msdos.c \ x11.c \ @@ -19,9 +29,14 @@ OBJS = system.o \ gadgets.o \ text.o \ sound.o \ + snapshot.o \ + joystick.o \ + toons.o \ pcx.o \ image.o \ random.o \ + hash.o \ + setup.o \ misc.o \ msdos.o \ x11.o \ @@ -30,6 +45,10 @@ OBJS = system.o \ LIBGAME = libgame.a +# ----------------------------------------------------------------------------- +# build targets +# ----------------------------------------------------------------------------- + all: $(LIBGAME) $(LIBGAME): $(OBJS) @@ -44,9 +63,9 @@ clean: $(RM) $(LIBGAME) -#-----------------------------------------------------------------------------# -# development only stuff # -#-----------------------------------------------------------------------------# +# ----------------------------------------------------------------------------- +# development only +# ----------------------------------------------------------------------------- depend: for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend