home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
623a.lha
/
fd2inline
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-03-25
|
2KB
|
114 lines
# Makefile for fd2inline by Wolfgang Baron
# if you just got this program, than look through the macros and
# (d)make configure
.USESHELL:= yes
CC=gcc
CFLAGS= -O -fomit-frame-pointer -fstrength-reduce -ansi -Wall $(VERBOSE) $(DB)
#CFLAGS= -O -Wall -DWDEBUG
INCS=
all: fd2inline inline.mk inline
inline.mk: bin/mandeps
bin/mandeps
inline: inline.mk
$(MAKE) -f inline.mk
fd2inline: fd2inline.c
[
stack 120000
$(CC) $(CFLAGS) -o $* $*.c
]
#.c.o
# $(CC) $(CFLAGS) $(INCS) $*.c
SRCS = fd2inline.c
OBJS = fd2inline.o
clean:
rm -f $(OBJS) proto/* inline/* error/*
dep: $(SRCS)
gcc >deps -MM $(INCS) $(SRCS)
#
# CONFIGURATION
#
AUTODOCS= man:2/auto2
FDS= usr:inc2/fd
SHPATH= usr:local/sh
AWKPATH= usr:local/awk
configure:
[
[ ! -d man ] && Makelink man $(AUTODOCS) force
[ ! -d fd ] && Makelink fd $(FDS) force
chmod +s bin/auto2proto bin/mandeps bin/mandeps
[ -f bin/auto2proto ] && {
rm -f $(SHPATH)/auto2proto
copy bin/auto2proto $(SHPATH) clone }
[ -f bin/auto ] && {
rm -f $(AWKPATH)/auto
copy bin/auto $(AWKPATH) clone }
[ ! -d error ] && mkdir error
]
unconfigure:
[
rm -rf error proto inline
rmdir fd man
]
AUTOS = man:2/auto2/amiga.lib.doc\
man:2/auto2/amiga_lib.doc\
man:2/auto2/asl.doc\
man:2/auto2/commodities.doc\
man:2/auto2/console.doc\
man:2/auto2/cx_lib.doc\
man:2/auto2/debug.doc\
man:2/auto2/debug_lib.doc\
man:2/auto2/diskfont.doc\
man:2/auto2/dos.doc\
man:2/auto2/exec.doc\
man:2/auto2/expansion.doc\
man:2/auto2/filesysres.doc\
man:2/auto2/gadtools.doc\
man:2/auto2/graphics.doc\
man:2/auto2/icon.doc\
man:2/auto2/iffparse.doc\
man:2/auto2/intuition.doc\
man:2/auto2/keymap.doc\
man:2/auto2/layers.doc\
man:2/auto2/locale.doc\
man:2/auto2/mathffp.doc\
man:2/auto2/mathieeedoubbas.doc\
man:2/auto2/mathieeedoubtrans.doc\
man:2/auto2/mathieeesingbas.doc\
man:2/auto2/mathieeesingtrans.doc\
man:2/auto2/mathtrans.doc\
man:2/auto2/narrator.doc\
man:2/auto2/printer.doc\
man:2/auto2/rexxsyslib.doc\
man:2/auto2/serial.doc\
man:2/auto2/timer.doc\
man:2/auto2/trackdisk.doc\
man:2/auto2/translator.doc\
man:2/auto2/utility.doc\
man:2/auto2/wb.doc\