]> git.saurik.com Git - wxWidgets.git/blob - src/png/scripts/makefile.ama
fixes, rewrites, adopting the posix way of resume/suspend (while using MP-API) as...
[wxWidgets.git] / src / png / scripts / makefile.ama
1 # Commodore Amiga Makefile
2 # makefile for libpng and SAS C V6.55 compiler
3 # Copyright (C) 1995 Wolf Faust
4
5 #compiler
6 CC=sc
7 #compiler flags
8 # WARNING: a bug in V6.51 causes bad code with OPTGO
9 # So use V6.55 or set NOOPTGO!!!!!!!!!
10 CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
11 OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 DEFINE=PNG_INTERNAL
12 #linker flags
13 LDFLAGS= SD ND BATCH
14 #link libs
15 LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
16 # linker
17 LN= slink
18 # file deletion command
19 RM= delete quiet
20 # library (.lib) file creation command
21 AR= oml
22 # make directory command
23 MKDIR= makedir
24
25 OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngpread.o \
26 pngread.o pngerror.o pngwrite.o pngrtran.o pngwtran.o pngrio.o pngwio.o pngmem.o
27
28 all: libpng.lib pngtest
29
30 libpng.lib: $(OBJS)
31 -$(RM) libpng.lib
32 $(AR) libpng.lib r $(OBJS)
33
34 pngtest: pngtest.o libpng.lib
35 $(LN) <WITH <
36 $(LDFLAGS)
37 TO pngtest
38 FROM LIB:c.o pngtest.o
39 LIB $(LDLIBS)
40 <
41
42