Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / bz2_library / Makefile
blobd7767e06994da82d13c2509370f958fc5e81811f
1 MAKE := make
2 CC := vc +aos68k -c99
3 AS := vasmm68k_mot
4 RM := rm -f
5 CP := cp -p --remove-destination
7 CFLAGS := -O2 -cpu=68020 -maxoptpasses=30 -I../include \
8 -I../include/amigaos -Iinclude -DBZ_NO_STDIO
9 ASFLAGS := -quiet -Fhunk -m68020
10 LINK := -nostdlib
11 LIBS := -L../lib -lsupport
13 TARGET := bz2.library
14 VERSION := 1
15 OBJS := stub_m68k.o init.o malloc.o bzlib.o compress.o decompress.o huffman.o \
16 blocksort.o crctable.o randtable.o
17 RELEASEDIR := ../../release/m68k-amigaos/diskimage_device
19 # -------------------------------------------------------------
21 all: $(TARGET)
23 $(TARGET): $(OBJS) ../lib/support.lib
24 $(CC) $(LINK) -o $@ $(OBJS) $(LIBS)
26 init.o: $(TARGET)_rev.h
28 ../lib/libsupport.a:
29 $(MAKE) -C .. lib/support.lib
31 install: all
32 $(CP) $(TARGET) LIBS:
34 dist: all
35 $(CP) $(TARGET) $(RELEASEDIR)/Libs/
37 clean:
38 $(RM) $(TARGET) $(OBJS)
40 revision:
41 bumprev $(VERSION) $(TARGET)