Last change
on this file since 1115 was 1096, checked in by s10k, 7 years ago |
Added zlib, quazip, basicxmlsyntaxhighlighter, conditionalsemaphore and linenumberdisplay libraries. zlib and quazip are pre-compiled, but you can compile them yourself, just delete the dll files (or equivalent binary files to your OS)
|
File size:
457 bytes
|
Rev | Line | |
---|
[1096] | 1 | CC=cc
|
---|
| 2 | CFLAGS=-O -I../..
|
---|
| 3 |
|
---|
| 4 | UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
|
---|
| 5 | ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a
|
---|
| 6 |
|
---|
| 7 | .c.o:
|
---|
| 8 | $(CC) -c $(CFLAGS) $*.c
|
---|
| 9 |
|
---|
| 10 | all: miniunz minizip
|
---|
| 11 |
|
---|
| 12 | miniunz: $(UNZ_OBJS)
|
---|
| 13 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
|
---|
| 14 |
|
---|
| 15 | minizip: $(ZIP_OBJS)
|
---|
| 16 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
|
---|
| 17 |
|
---|
| 18 | test: miniunz minizip
|
---|
| 19 | ./minizip test readme.txt
|
---|
| 20 | ./miniunz -l test.zip
|
---|
| 21 | mv readme.txt readme.old
|
---|
| 22 | ./miniunz test.zip
|
---|
| 23 |
|
---|
| 24 | clean:
|
---|
| 25 | /bin/rm -f *.o *~ minizip miniunz
|
---|
Note:
See
TracBrowser
for help on using the repository browser.