update for HEAD-2003021201
[reactos.git] / drivers / lib / bzip2 / Makefile
1 # $Id$
2
3 PATH_TO_TOP = ../../..
4
5 TARGET_TYPE = export_driver
6
7 TARGET_NAME = unbzip2
8
9 TARGET_NORC = yes
10
11 TARGET_CFLAGS = \
12  -Wall -Winline -Os -fomit-frame-pointer -fno-strength-reduce \
13  -DBZ_NO_STDIO -DBZ_DECOMPRESS_ONLY $(BIGFILES) -g
14
15 TARGET_OBJECTS = \
16         bzlib.o \
17         randtable.o \
18         crctable.o \
19         decompress.o \
20         huffman.o \
21         dllmain.o
22
23 TARGET_GCCLIBS = gcc
24
25 include $(PATH_TO_TOP)/rules.mak
26
27 include $(TOOLS_PATH)/helper.mk
28
29 test.exe: test.o ../../dk/w32/lib/unbzip2.a
30         $(CC) -s -Os -o test.exe test.o ../../dk/w32/lib/unbzip2.a
31
32 test.o: test.c
33         $(CC) -s -Os -c test.c
34
35 # EOF