diff options
Diffstat (limited to 'Build/source/libs/zziplib/zziplib-0.13.58/zzip/Makefile')
-rw-r--r-- | Build/source/libs/zziplib/zziplib-0.13.58/zzip/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/libs/zziplib/zziplib-0.13.58/zzip/Makefile b/Build/source/libs/zziplib/zziplib-0.13.58/zzip/Makefile new file mode 100644 index 00000000000..0380cd25c4d --- /dev/null +++ b/Build/source/libs/zziplib/zziplib-0.13.58/zzip/Makefile @@ -0,0 +1,22 @@ + +top_srcdir = ../../../../libs/zziplib +srcdir = $(top_srcdir)/zzip + +CC = gcc +AR = ar cru +RANLIB = ranlib + +OBJECTS =dir.o err.o fetch.o file.o info.o memdisk.o mmapped.o \ + plugin.o stat.o write.o zip.o + +_CFLAGS = -DHAVE_CONFIG_H -I.. -I../../../../libs/zziplib -I../../../../libs/zlib + +XCFLAGS = $(_CFLAGS) + +all: $(OBJECTS) + $(AR) libzzip.a $(OBJECTS) + $(RANLIB) libzzip.a + +%.o: $(srcdir)/%.c + $(CC) $(CFLAGS) $(XCFLAGS) -c $< -o $@ + |