home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
gfx
/
edit
/
tsmorph
/
src
/
smakefile
< prev
next >
Wrap
Makefile
|
1994-03-05
|
20KB
|
570 lines
# TSMorph - Amiga Morphing program
# Copyright (C) © 1993 Topicsave Limited
# $VER: TSMorph_smakefile 3.0 (5.3.94)
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# mpaddock@cix.compulink.co.uk
# Make file for TSMorph and SAS/C 6.51
# Compilation flags
# Normal compile
CCFLAGS = CONSTLIB CNEST NMINC STRMERGE STREQ IDIR=INCLUDE: OPTIMIZE OPTTIME OPTGLOBAL NOSTKCHK MATH=STANDARD IGNORE=104 IGNORE=304 IGNORE=105 IGNORE=306 DEBUG=L VERBOSE
# 881 maths compile
CCFLAGS881 = COMNEST NMINC STRMERGE STREQ IDIR=INCLUDE: CPU=68020 OPTIMIZE OPTTIME OPTGLOBAL OPTSCHED DEFINE=MY68881_6 MATH=68881 NOSTKCHK IGNORE=104 IGNORE=304 IGNORE=105 IGNORE=306 DEBUG=L VERBOSE
#040 match compile
CCFLAGS040 = COMNEST NMINC STRMERGE STREQ IDIR=INCLUDE: CPU=68040 OPTIMIZE OPTTIME OPTGLOBAL OPTSCHED DEFINE=MY68881_6 MATH=68881 NOSTKCHK IGNORE=104 IGNORE=304 IGNORE=105 IGNORE=306 DEBUG=L VERBOSE
# default compilation
.c.o:
sc $(CCFLAGS) $*.c
# various defines
B = brush/
C = cursor/
G = Gui/
R = Rexx/
I = .info
E = ENV/TSMorph/
J = JPEG_LS/
H = HTML/Images/
JPEGLSS1 = $(J)jconfig.h $(J)jdcolor.c $(J)jddeflts.c $(J)jdhuff.c $(J)jdmain.c $(J)jdmaster.c $(J)jdmcu.c $(J)jrdgif.c
JPEGLSS2 = $(J)jdpipe.c $(J)jdsample.c $(J)jinclude.h $(J)jmemmgr.c $(J)jmemsys.c $(J)jmemsys.h $(J)jrdppm.c
JPEGLSS3 = $(J)jpegdata.h $(J)jquant1.c $(J)jrdjfif.c $(J)jrevdct.c $(J)jutils.c $(J)jwrmem.c $(J)jrdtarga.c
JPEGLSO1 = $(J)jdcolor.o $(J)jddeflts.o $(J)jdhuff.o $(J)jdmaster.o $(J)jdmcu.o $(J)jrdgif.o
JPEGLSO2 = $(J)jdpipe.o $(J)jdsample.o $(J)jmemmgr.o $(J)jmemsys.o $(J)jrdppm.o
JPEGLSO3 = $(J)jquant1.o $(J)jrdjfif.o $(J)jrevdct.o $(J)jutils.o $(J)jwrmem.o $(J)jrdtarga.o
JPEGLSO4 = $(J)jdmain.o
JPEGLSO4R = $(J)jdmainr.o
IFF = parse.o iffpstrings.o Hook.o ilbmr.o unpacker.o loadilbm.o getbitmap.o
IFFS = ilbmw.o apack.o saveilbm.o
PREFS = TSMorph-prefs.o Prefs.o
TSMORPH = TSMorph.o ControlWindow.o Gui.o Boopsi.oo Subroutines.o help.o sprintf.o Args.o LoadBrushes.o Frames.o OpalLoad.o HandleSettings.o RGBToScreen020.o Messages.o
RENDER = TSMorph-render.o Progress.o sprintf.o Args.o SaveHAMetc.o RenderSub.o
RENDER881 = TSMorph-render881.o Progress.o sprintf.o Args.o SaveHAMetc881.o RenderSub881.o
RENDER040 = TSMorph-render040.o Progress.o sprintf.o Args.o SaveHAMetc040.o RenderSub040.o
DIST = TSMorph-render.881 TSMorph-render.040 TSMorph TSMorph-render TSMorph.guide TSMorph.doc TSMorph-prefs
DIST1 = Install Read.Me COPYING Tutorial/Tutorial.readme Tutorial/cat.pic Tutorial/girl.pic
DISTI = TSMorph-render.881$(I) TSMorph-render.040$(I) TSMorph$(I) TSMorph-render$(I) TSMorph.guide$(I) Install$(I) Read.Me$(I) TSMorph-prefs$(I) TSMorph.doc$(I) HTML$(I) View_HTML$(I)
REXX = $(R)Prescript.TSM $(R)Postscript.TSM $(R)FadeToBlack.TSM $(R)FadeToWhite.TSM $(R)PixelWarp.TSM $(R)PixelMorph.TSM $(R)PreAll.TSM
REXXI = $(R)Prescript.TSM$(I) $(R)Postscript.TSM$(I) $(R)FadeToBlack.TSM$(I) $(R)FadeToWhite.TSM$(I) $(R)PixelWarp.TSM$(I) $(R)PixelMorph.TSM$(I) $(R)PreAll.TSM$(I)
REXX1 = $(R)ToHam.TSM $(R)LoadScript.TSM $(R)Preview.TSM $(R)PreAnim.TSM $(R)PostAnim.TSM
REXXI1 = $(R)ToHam.TSM$(I) $(R)LoadScript.TSM$(I) $(R)Preview.TSM$(I) $(R)PreAnim.TSM$(I) $(R)PostAnim.TSM$(I) Rexx$(I)
DIST2I = $(E)def_points$(I) $(E)def_ilbm$(I) $(E)def_iff$(I) $(E)def_jpg$(I) $(E)def_prefs$(I) $(E)def_ppm$(I)
DIST2I1 = ENV$(I) ENV/TSMorph$(I) brush$(I) cursor$(I) Tutorial$(I) Tutorial/Tutorial.readme$(I)
DIST2I2 = $(E)def_bw16$(I) $(E)def_bw256$(I) $(E)def_ham6$(I) $(E)def_ham8$(I) $(E)def_dctv3$(I) $(E)def_dctv4$(I)
SRC1 = boopsi.oo ControlWindow.c getbitmap.c gui.c gui.h help.c Hook.asm iffpstrings.c ilbmr.c ilbmw.c lmkfile smakefile
SRCBRUSH = $(B)Add.c $(B)Del.c $(B)Link.c $(B)None.c $(B)One.c $(B)Rel.c $(B)Two.c $(B)Unlink.c $(B)1st.c $(B)last.c $(B)goto.c $(B)next.c $(B)prev.c
BRUSHES = $(B)add.o $(B)del.o $(B)link.o $(B)none.o $(B)one.o $(B)rel.o $(B)two.o $(B)unlink.o $(B)1st.o $(B)last.o $(B)goto.o $(B)next.o $(B)prev.o
BRUSH = $(B)Add $(B)Del $(B)Link $(B)None $(B)One $(B)Rel $(B)Two $(B)Unlink $(B)1st $(B)last $(B)goto $(B)next $(B)prev
BRUSHI = $(B)Add$(I) $(B)Del$(I) $(B)Link$(I) $(B)None$(I) $(B)One$(I) $(B)Rel$(I) $(B)Two$(I)
BRUSHI1 = $(B)Unlink$(I) $(B)1st$(I) $(B)last$(I) $(B)goto$(I) $(B)next$(I) $(B)prev$(I)
CURSORS = $(C)Xadd.o $(C)Xdel.o $(C)Xl1.o $(C)Xl2.o $(C)Xmov.o $(C)Xone.o $(C)Xrel.o $(C)Xtwo.o $(C)Xu1.o $(C)Xu2.o
SRCCURSOR = $(C)XAdd.c $(C)XDel.c $(C)XL1.c $(C)XL2.c $(C)XMov.c $(C)XOne.c $(C)XRel.c $(C)XTwo.c $(C)XU1.c $(C)XU2.c
CURSOR = $(C)XAdd $(C)XDel $(C)XL1 $(C)XL2 $(C)XMov $(C)XOne $(C)XRel $(C)XTwo $(C)XU1 $(C)XU2
CURSORI1 = $(C)XAdd$(I) $(C)XDel$(I) $(C)XL1$(I) $(C)XL2$(I)
CURSORI2 = $(C)XMov$(I) $(C)XOne$(I) $(C)XRel$(I) $(C)XTwo$(I) $(C)XU1$(I) $(C)XU2$(I)
SRCIFFP = iffp/compiler.h iffp/debug.h iffp/iff.h iffp/iffpstringids.h iffp/iffpstrings.h iffp/ilbm.h iffp/ilbmapp.h iffp/packer.h
SRC5 = loadilbm.c apack.asm parse.c Progress.c progress.h saveilbm.c Subroutines.c TSMorph-render.c TSMorph.c TSMorph.h
SRC6 = TSMorph.texinfo unpacker.c Install Read.Me sprintf.c Args.c LoadBrushes.c Frames.c OpalLoad.c HandleSettings.c COPYING
SRC7 = RGBToScreen020.c SaveHAMetc.c Prefs.c Prefs.h TSMorph-prefs.c Source.readme Source.readme.info JPEG.README Messages.h TSMorph-Messages
SRC8 = Messages.c GenMsg.c RenderSub.c ag2txt/ag2txt.c Tutorial/Tutorial.texinfo Tutorial/cat.pic Tutorial/girl.pic texinfo2HTML.rexx
GUI = $(G)TSMorph.gui $(G)Progress.gui $(G)AddGrid.gui $(G)Settings.gui
GUII = $(G)TSMorph.gui$(I) $(G)Progress.gui$(I) $(G)AddGrid.gui$(I) $(G)Settings.gui$(I)
HTMLIMG = $(H)AddGrid $(H)Contrl $(H)Image $(H)Info $(H)Prefs $(H)Up
# Default is to generate Source and Object lha
Everything: LHA:TSMorph30s.lha LHA:TSMorph30.lha
# Delete all the built files (except two above) to force a recompile
Delete:
-delete TSMorph.guide TSMorph.doc TSMorph.ld TSMorph TSMorph-render.ld TSMorph-render
-delete TSMorph-render.881.ld TSMorph-render.881 TSMorph-prefs.ld TSMorph-prefs
-delete TSMorph-render.040.ld TSMorph-render.040
-delete GenMsg.ld GenMsg ag2txt/ag2txt.ld ag2txt/ag2txt
-delete Messages.o tMessages.h GenMsg.o TSMorph-prefs.o Prefs.o ag2txt/ag2txt.o
-delete TSMorph-render881.o SaveHAMetc881.o RenderSub881.o TSMorph.p sprintf.o
-delete TSMorph-render040.o SaveHAMetc040.o RenderSub040.o TSMorph.p sprintf.o
-delete Args.o ilbmr.o getbitmap.o loadilbm.o parse.o unpacker.o Subroutines.o Hook.o apack.o
-delete LoadBrushes.o Frames.o ControlWindow.o Gui.o iffpstrings.o TSMorph.o OpalLoad.o
-delete RGBToScreen020.o HandleSettings.o help.o ilbmw.o saveilbm.o Progress.o
-delete TSMorph-render.o SaveHAMetc.o RenderSub.o
-delete $(C)Xu2.o $(C)Xu1.o $(C)Xtwo.o $(C)Xrel.o $(C)Xone.o $(C)Xmov.o $(C)Xl2.o $(C)Xl1.o $(C)Xdel.o $(C)Xadd.o
-delete $(B)add.o $(B)del.o $(B)link.o $(B)none.o $(B)one.o $(B)rel.o $(B)two.o $(B)unlink.o $(B)1st.o $(B)last.o $(B)goto.o $(B)prev.o $(B)next.o
-delete $(J)jdcolor.o $(J)jddeflts.o $(J)jdhuff.o $(J)jdmain.o $(J)jdmaster.o $(J)jdmcu.o $(J)jdpipe.o
-delete $(J)jdsample.o $(J)jinclude.o $(J)jmemmgr.o $(J)jmemsys.o $(J)jpegdata.o $(J)jquant1.o $(J)jrdjfif.o
-delete $(J)jrevdct.o $(J)jutils.o $(J)jwrmem.o $(J)jrdgif.o $(J)jrdtarga.o $(J)jrdppm.o $(J)jdmainr.o
-delete HTML/\#?
# Some of the "object" code
Object: TSMorph TSMorph-render TSMorph-re