c933adbc8a5698c93ff58ca4f5642f4a01af6621
[reactos.git] / reactos / drivers / lib / bzip2 / Makefile
1 PATH_TO_TOP = ../../..
2 TARGET_TYPE = export_driver
3 TARGET_NAME = unbzip2
4 TARGET_NORC = yes
5
6 TARGET_CFLAGS=-Wall -Winline -Os -fomit-frame-pointer -fno-strength-reduce -DBZ_NO_STDIO -DBZ_DECOMPRESS_ONLY $(BIGFILES) -g
7
8 TARGET_OBJECTS = bzlib.o randtable.o crctable.o decompress.o huffman.o dllmain.o
9
10 TARGET_GCCLIBS = gcc
11
12 include $(PATH_TO_TOP)/rules.mak
13 include $(TOOLS_PATH)/helper.mk
14
15 test.exe: test.o ../../dk/w32/lib/unbzip2.a
16 $(CC) -s -Os -o test.exe test.o ../../dk/w32/lib/unbzip2.a
17 test.o: test.c
18 $(CC) -s -Os -c test.c