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