home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD2.mdf
/
tools
/
pep
/
makefile
< prev
next >
Wrap
Makefile
|
1989-12-28
|
4KB
|
138 lines
# Makefile for pep 1989 dec 28 [gh]
#-----------------------------------------------------------------------------
# Design:
# This Makefile is for Microsoft C 5.1 and Borlands make. I'm sorry but
# Microsoft's make is just too braindamaged.
#-----------------------------------------------------------------------------
# Microsoft C
#CC = cl
#LFLAGS = -o pep
# Borland Turbo C
CC = tcc
CFLAGS = -w-pia -w-def
LFLAGS = -epep
# Other macroes
TODAY = 29/12/89
VERSION = 2.10
it: dos
dist: date pep.arc
arc: crlf.tst notes.let pep.dok poster.txt
arc -m pep crlf.tst notes.let pep.dok poster.txt
date:
st Makefile $(TODAY) $(VERSION)
st Makefile.unx $(TODAY) $(VERSION)
st Makevms.com $(TODAY) $(VERSION)
st ansi.c $(TODAY) $(VERSION)
st bdmg.c $(TODAY) $(VERSION)
st main.c $(TODAY) $(VERSION)
st plain.c $(TODAY) $(VERSION)
st bdmg.h $(TODAY) $(VERSION)
st pep.h $(TODAY) $(VERSION)
st pep.exe $(TODAY) $(VERSION)
cd Doc
st aales.meg $(TODAY) $(VERSION)
st aaread.me $(TODAY) $(VERSION)
st pep.1l $(TODAY) $(VERSION)
st pep.doc $(TODAY) $(VERSION)
st header.txt $(TODAY) $(VERSION)
st hjelp.txt $(TODAY) $(VERSION)
st pepvms.txt $(TODAY) $(VERSION)
cd ..\Filters
st mac2ibm $(TODAY) $(VERSION)
st ibm2mac $(TODAY) $(VERSION)
st ebc2ns7 $(TODAY) $(VERSION)
st ibm2ro8 $(TODAY) $(VERSION)
st ro82ibm $(TODAY) $(VERSION)
st ibm2iso $(TODAY) $(VERSION)
st iso2ibm $(TODAY) $(VERSION)
cd ..
pep.doc: Doc\pep.1l
nroff -man -Tlpr Doc\pep.1l | pep > Doc\pep.doc
manhc: Doc\pep.1l
ptroff -man Doc\pep.1l
pep: dos
pep.exe: dos
pep.arc: Makefile Makefile.unx Makevms.com \
Doc\aales.meg Doc\aaread.me Doc\header.txt \
Doc\hjelp.txt Doc\pep.1l Doc\pep.doc Doc\pepvms.txt \
ansi.c bdmg.c main.c plain.c pep.h bdmg.h \
Filters\ebc2ns7 Filters\ibm2iso Filters\ibm2mac \
Filters\ibm2ro8 Filters\iso2ibm Filters\mac2ibm \
Filters\ro82ibm
del pep.arc
arc -a pep Makefile
arc -m pep Makefile.unx Makevms.com
arc -m pep Doc\aales.meg Doc\aaread.me Doc\header.txt \
Doc\hjelp.txt Doc\pep.1l Doc\pep.doc Doc\pepvms.txt
arc -m pep Filters\ebc2ns7 Filters\ibm2iso Filters\ibm2mac \
Filters\ibm2ro8 Filters\iso2ibm Filters\mac2ibm \
Filters\ro82ibm
arc -m pep ansi.c bdmg.c main.c plain.c pep.h bdmg.h pep.exe
pep.shr: Makefile Makefile.unx Makevms.com \
Doc\aales.meg Doc\aaread.me Doc\header.txt \
Doc\hjelp.txt Doc\pep.1l Doc\pep.doc Doc\pepvms.txt \
ansi.c bdmg.c main.c plain.c pep.h bdmg.h \
Filters\ebc2ns7 Filters\ibm2iso Filters\ibm2mac \
Filters\ibm2ro8 Filters\iso2ibm Filters\mac2ibm \
Filters\ro82ibm
del pep.shr
shar -a Makefile Makefile.unx Makevms.com \
Doc\aales.meg Doc\aaread.me Doc\header.txt \
Doc\hjelp.txt Doc\pep.1l Doc\pep.doc Doc\pepvms.txt \
ansi.c bdmg.c main.c plain.c pep.h bdmg.h \
Filters\ebc2ns7 Filters\ibm2iso Filters\ibm2mac \
Filters\ibm2ro8 Filters\iso2ibm Filters\mac2ibm \
Filters\ro82ibm > pep.shr
#---( compilations )----------------------------------------------------------
aztec: pep.c
cc -D__CPM86__ -i15/ pep.c
dos: main.obj ansi.obj plain.obj bdmg.obj
$(CC) $(LFLAGS) main.obj ansi.obj plain.obj bdmg.obj
unix: main.o ansi.o plain.o
cc -o pep main.o ansi.o plain.o
vms: pep.c
cc/nowarnings/define=STRICMP pep.c
link pep.obj
#---( objects )---------------------------------------------------------------
main.obj: main.c pep.h bdmg.h
$(CC) -c $(CFLAGS) main.c
ansi.obj: ansi.c pep.h
$(CC) -c $(CFLAGS) ansi.c
plain.obj: plain.c pep.h
$(CC) -c $(CFLAGS) plain.c
bdmg.obj: bdmg.c pep.h bdmg.h
$(CC) -c $(CFLAGS) bdmg.c
#---( housekeeping )----------------------------------------------------------
clean:
del *.obj
del pep.exe
# EOF