VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.1/contrib/minizip/Makefile@ 14955

最後變更 在這個檔案從14955是 6392,由 vboxsync 提交於 17 年 前

export libpng and zlib so Windows and OS/2 builds cleanly.

  • 屬性 svn:eol-style 設為 native
檔案大小: 457 位元組
 
1CC=cc
2CFLAGS=-O -I../..
3
4UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
5ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a
6
7.c.o:
8 $(CC) -c $(CFLAGS) $*.c
9
10all: miniunz minizip
11
12miniunz: $(UNZ_OBJS)
13 $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
14
15minizip: $(ZIP_OBJS)
16 $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
17
18test: miniunz minizip
19 ./minizip test readme.txt
20 ./miniunz -l test.zip
21 mv readme.txt readme.old
22 ./miniunz test.zip
23
24clean:
25 /bin/rm -f *.o *~ minizip miniunz
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette