diff options
Diffstat (limited to 'test/monniaux/uzlib/examples/tgunzip/makefile.mgw')
-rw-r--r-- | test/monniaux/uzlib/examples/tgunzip/makefile.mgw | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/monniaux/uzlib/examples/tgunzip/makefile.mgw b/test/monniaux/uzlib/examples/tgunzip/makefile.mgw new file mode 100644 index 00000000..b48b4c10 --- /dev/null +++ b/test/monniaux/uzlib/examples/tgunzip/makefile.mgw @@ -0,0 +1,28 @@ +## +## tgunzip - gzip decompressor example +## +## MinGW / Cygwin makefile +## +## Copyright (c) 1998-2003 by Joergen Ibsen / Jibz +## All Rights Reserved +## + +target = tgunzip.exe +objects = tgunzip.o +libs = ../../lib/libtinf.a + +cflags = -s -Wall -Os -fomit-frame-pointer -I../../src +ldflags = $(cflags) + +.PHONY: all clean + +all: $(target) + +$(target): $(objects) + gcc $(ldflags) -o $@ $^ $(libs) + +%.o : %.c + gcc $(cflags) -o $@ -c $< + +clean: + $(RM) $(target) $(objects) |