changed "http" to "https" in URLs
[rocksndiamonds.git] / src / libgame / Makefile
index 4693c226a9529311c092778ba9516382afecabf3..26f311604648a63ae34af61b9d83d70835c8816e 100644 (file)
@@ -4,7 +4,7 @@
 # (c) 1995-2014 by Artsoft Entertainment
 #                  Holger Schemel
 #                  info@artsoft.org
-#                  http://www.artsoft.org/
+#                  https://www.artsoft.org/
 # -----------------------------------------------------------------------------
 # src/libgame/Makefile
 # =============================================================================
@@ -24,7 +24,11 @@ SRCS =       system.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       \
@@ -37,7 +41,11 @@ OBJS =       system.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
 
@@ -49,11 +57,11 @@ 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)