home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
fish
/
disks
/
d1056.lha
/
Programs
/
APipe-Handler
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-11-08
|
3KB
|
158 lines
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
################################################################################
#
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $Id: Imake.tmpl,v 1.3 94/11/08 01:58:02 bojsen Exp Locker: bojsen $
#
# Platform specific parameters may be set in the appropriate .cf
# configuration files.
#
# Architecture flags.
#
# The architecture flags allow you to specify optimizations for the
# processor type you want. Uncomment the one you have, or leave all
# commented if you want a generic APipe-Handler that can run on any
# processor.
#
# 68000 and up:
TARGET_ARCH = DEF=MC68000
ARCH_OPTIMIZE = CPU=68000
#
# 68010 and up:
#TARGET_ARCH = DEF=MC68010
#ARCH_OPTIMIZE = CPU=68010
#
# 68020 and up:
#TARGET_ARCH = DEF=MC68020
#ARCH_OPTIMIZE = CPU=68020
#
# 68030 and up:
#TARGET_ARCH = DEF=MC68030
#ARCH_OPTIMIZE = CPU=68030
#
# 68040 and up:
#TARGET_ARCH = DEF=MC68040
#ARCH_OPTIMIZE = CPU=68040
#
# 68060 and up:
#TARGET_ARCH = DEF=MC68060
#ARCH_OPTIMIZE = CPU=68060
IMAKEOPTS = $(IMAKEOPTS) -DCPU_68000
#MATH_ARCH = $(MATH_ARCH) DEF=MC68881
#MATH_OPTIMIZE = MATH=68881
#MATH_ARCH = $(MATH_ARCH) DEF=MC68882
#MATH_OPTIMIZE = MATH=68882
MACH = $(TARGET_ARCH) $(MATH_ARCH) $(ARCH_OPTIMIZE) $(MATH_OPTIMIZE)
OPTIMIZE = $(OPTIMIZE) OPT OPTINLINE OPTINLOCAL OPTCOMP=6 OPTDEP=6 OPTRDEP=6
CC = sc
CPP = cpp -D__SASC
CFLAGS = NOSTKCHK DATA=FAR $(DEFS) $(DEBUGFLAGS) $(MACH)
AS = asm
AFLAGS = -iASMINCLUDE:
AR = oml
ARCMDS = r
INSTDIR = Work:usr/local/L
LIBS = LIB:amiga.lib LIB:scnb.lib
################################################################################
#
# Start of Imakefile
#
################################################################################
#
# Imakefile for APipeHandler
#
# Copyright (C) 1991-1994 by Per Bojsen. All Rights Reserved.
#
# $Id: Imakefile,v 1.3 94/11/08 01:58:28 bojsen Exp Locker: bojsen $
#
# $Log: Imakefile,v $
# Revision 1.3 94/11/08 01:58:28 bojsen
# Moved generic stuff (Makefile target) from Imakefile to Imake.tmpl.
#
# Revision 1.2 94/11/08 01:17:20 bojsen
# Updated to SAS/C 6 and made various minor improvements.
#
# Revision 1.1 94/11/07 23:45:39 bojsen
# Initial revision
#
OBJECTS = pgmpipe.o child.o
all: APipe-Handler
install:
copy APipe-Handler $(INSTDIR)
cleanall: clean
@delete >NIL: Makefile
clean:
@delete >NIL: $(OBJECTS) APipe-Handler
APipe-Handler: $(OBJECTS) $(BLIB)
slink <WITH <(T:ppipe.link)
FROM $(OBJECTS)
LIB $(LIBS)
TO $@
ND SD SC VERBOSE
<
pgmpipe.o: pgmpipe.c
child.o: child.asm
# IMAKEOPTS records the options imake was called with when it created
# this Makefile.
IMAKEOPTS = $(IMAKEOPTS) -DSET_STANDALONE
IMAKEOPTS = $(IMAKEOPTS) -DDO_OPTIMIZE
IMAKEOPTS = $(IMAKEOPTS) -DOPTFLAGS="\\"OPTINLINE OPTINLOCAL OPTCOMP=6 OPTDEP=6 OPTRDEP=6\\""
Makefile: Imakefile Imake.tmpl
imake $(IMAKEOPTS)
.c.o:
$(CC) $(CFLAGS) $(OPTIMIZE) OBJNAME=$*.o CSRC=$*.c
.asm.o:
asm $(AFLAGS) -o$*.o $*.asm
.a.o:
asm $(AFLAGS) -o$*.o $*.a