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