4bd32b6356eca85e4a5938e78d442c156c045bfc
[reactos.git] / reactos / 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 -Werror -D__USE_W32API \
14 -finline-limit=1000
15
16 TARGET_OBJECTS = \
17 bzlib.o \
18 randtable.o \
19 crctable.o \
20 decompress.o \
21 huffman.o \
22 dllmain.o
23
24 TARGET_GCCLIBS = gcc
25
26 include $(PATH_TO_TOP)/rules.mak
27
28 include $(TOOLS_PATH)/helper.mk
29
30 test.exe: test.o ../../dk/w32/lib/unbzip2.a
31 $(CC) -s -Os -o test.exe test.o ../../dk/w32/lib/unbzip2.a
32
33 test.o: test.c
34 $(CC) -s -Os -c test.c
35
36 # EOF