home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
594a.lha
/
imake
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-10-18
|
2KB
|
69 lines
#
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING
#
# This is NOT an automatically generated Makefile! It is hand-crafted as a
# bootstrap, may need editing for your system. The BOOTSTRAPCFLAGS variable
# may be given at the top of the build tree for systems that do not define
# any machine-specific preprocessor symbols.
#
# 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 sed that can run on any processor.
#
# NOTE: Make sure TARGET_ARCH and ARCH_OPTIMIZE is in sync!
#
# Target architecture
#TARGET_ARCH = MC68000
#TARGET_ARCH = MC68010
#TARGET_ARCH = MC68020
TARGET_ARCH = MC68030
#TARGET_ARCH = MC68040
#
# Architecture flags
#ARCH_OPTIMIZE = -m0
#ARCH_OPTIMIZE = -m1
#ARCH_OPTIMIZE = -m2
ARCH_OPTIMIZE = -m3
#ARCH_OPTIMIZE = -m4
# Turn on optimizer
OPTIMIZE = -O
# Debugging
# DEBUGFLAGS = -d5
# Compiler driver
CC = lc
# C preprocessor
CPP = cpp
# Generic compiler flags
CFLAGS = $(DEFS) $(DEBUGFLAGS) -d$(TARGET_ARCH) $(ARCH_OPTIMIZE)
# Linker
LD = blink
# Linker flags
LDFLAGS = SC SD ND VERBOSE
# Linker libraries
LIBS = LIB:local/butility.lib LIB:lc.lib LIB:amiga.lib
# Startup modules (residentability option)
STARTUP = LIB:cres.o
# Executable rules
imake: imake.c imakemdep.h
$(CC) $(CFLAGS) $(OPTIMIZE) -i -o$*.o $*
$(LD) <WITH <(T:imake.link)
FROM $(STARTUP) imake.o
LIB $(LIBS)
TO imake
$(LDFLAGS)
<
clean:
@delete imake imake.o