Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / z_library / Makefile
blob21fbd1dfe7b15274a7131102c03172dce3a49df8
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 -I../include -I../include/amigaos -Iinclude \
8 -DSTDC -DAMIGA -DDYNAMIC_CRC_TABLE
9 ASFLAGS := -quiet -Fhunk -m68020
10 LINK := -nostdlib
11 LIBS := -L../lib -lsupport
13 TARGET := z.library
14 VERSION := 1
15 OBJS := stub_m68k.o init.o malloc.o zutil.o deflate.o inflate.o inftrees.o \
16 inffast.o compress.o uncompr.o trees.o crc32.o adler32.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)