3 # ppc-amigaos-ld -r -o flexcat.elf lib:c_ppc.o flexcat.o flexcat_cat.o lib:scppc.a lib:end.o
5 LINKERLIBS = lib:sc.lib lib:amiga.lib
6 LINKERFLAGS = NOICONS BATCH
7 CFLAGS = NoStackCheck NoStackExt UnsignedChars \
8 CommentNest ErrorRexx NoMultipleIncludes \
9 NoIcons GenProtoParameters NoLink \
10 MultipleCharacterConstants \
11 Optimize Opttime cpu=000
14 CATALOG = FlexCat_cat.h
15 SRC = FlexCat.c FlexCat_cat.c
16 OBJ = FlexCat.o FlexCat_cat.o
19 all: $(CATALOG) $(MAIN)
22 @echo "*e[32mRemoving .(o|lnk)...*e[0m"
28 @echo "*e[32mMaking $@ PPC*e[0m"
30 @ppc-amigaos-ld -r -o flexcat.elf lib:c_ppc.o FlexCat.o FlexCat_cat.o lib:scppc.a lib:end.o
33 FlexCat_cat.h: Catalogs_Src/FlexCat.cd
34 @echo "*e[32mProcessing $@*e[0m"
35 @FlexCat Catalogs_Src/FlexCat.cd flexcat_cat.c=lib/C_c.sd
36 @FlexCat Catalogs_Src/FlexCat.cd flexcat_cat.h=lib/C_h.sd
37 @FlexCat Catalogs_Src/FlexCat.cd flexcat_cat.h.unix=lib/Hardcode_h.sd
39 FlexCat: FlexCat.c FlexCat_cat.h
40 @echo "*e[32mMaking $@*e[0m"
42 @slink to $@ from lib:c.o $(OBJ) lib $(LINKERLIBS) $(LINKERFLAGS)
45 @C:list FILES Catalogs_Src/#?.ct lformat "FlexCat Catalogs_Src/FlexCat.cd %p%n catalog Catalogs/%m/FlexCat.catalog FLUSH" >T:dik
51 @lha >nil: u -2xer RAM:FlexCat.lha Catalogs Docs/FlexCat_english.guid* Lib Contribution
52 @lha >nil: u -2xer RAM:FlexCat.lha FlexCat FlexCat.history Docs.info FlexCat.readme
53 @copy FlexCat.readme RAM:
55 @echo FlexCat_ExDocs...
56 @lha >nil: u -2xer RAM:FlexCat_ExDocs.lha Docs Docs.info
57 @lha >nil: d RAM:FlexCat_ExDocs.lha Docs/FlexCat_english.guid*
58 @copy FlexCat_ExDocs.readme RAM:
60 @echo FlexCat_CatSrc...
61 @lha >nil: u -2xer RAM:FlexCat_CatSrc.lha Catalogs_Src
62 @lha >nil: d ram:FlexCat_CatSrc.lha Catalogs_Src/OLD* Catalogs_Src/*,v
63 @copy FlexCat_CatSrc.readme RAM:
66 @lha >nil: u -2 RAM:FlexCat_0x0.lha FlexCat.*.pch FlexCat_0x0.readme
67 @lha >nil: u -2 RAM:FlexCat_0x0.lha SC:C/spatch
68 @copy FlexCat_0x0.readme RAM:
71 @lha >nil: u -2xer RAM:FlexCat_Src.lha FlexCat.c FlexCat.history developer.readme FlexCat.announce FlexCat_cat.h.unix TODO smakefile in
72 @copy FlexCat_Src.readme RAM:
74 @echo FlexCat_Demos...
75 @lha >nil: u -2xer RAM:FlexCat_Demos.lha FlexCat_Demos
76 @copy FlexCat_Demos.readme RAM:
80 @lzx >nil: u -3 -x -e -r RAM:FlexCat.lzx Catalogs Docs/FlexCat_english.guid* Lib Contribution
81 @lzx >nil: u -3 -x -e -r RAM:FlexCat.lzx FlexCat FlexCat.history Docs.info FlexCat.readme
82 @copy FlexCat.readme RAM:
84 @echo FlexCat_ExDocs...
85 @lzx >nil: u -3 -x -e -r RAM:FlexCat_ExDocs.lzx Docs Docs.info
86 @lzx >nil: d RAM:FlexCat_ExDocs.lzx Docs/FlexCat_english.guid*
87 @copy FlexCat_ExDocs.readme RAM:
89 @echo FlexCat_CatSrc...
90 @lzx >nil: u -3 -x -e -r RAM:FlexCat_CatSrc.lzx Catalogs_Src
91 @lzx >nil: d ram:FlexCat_CatSrc.lzx Catalogs_Src/OLD* Catalogs_Src/*,v
92 @copy FlexCat_CatSrc.readme RAM:
95 @lzx >nil: u -3 RAM:FlexCat_0x0.lzx FlexCat.*.pch FlexCat_0x0.readme
96 @lzx >nil: u -3 RAM:FlexCat_0x0.lzx SC:C/spatch
97 @copy FlexCat_0x0.readme RAM:
100 @lzx >nil: u -3 -x -e -r RAM:FlexCat_Src.lzx FlexCat.c FlexCat.history Developer.readme FlexCat.announce TODO smakefile in
101 @copy FlexCat_Src.readme RAM:
103 @echo FlexCat_Demos...
104 @lha >nil: u -3 -x -e -r RAM:FlexCat_Demos.lzx FlexCat_Demos
105 @copy FlexCat_Demos.readme RAM:
108 @$(MAKEINFO) Catalogs_Src/FlexCat_english.texinfo --amiga-39 --fill-column 76 --output Docs/FlexCat_english.guide
109 @$(MAKEINFO) Catalogs_Src/FlexCat_deutsch.texinfo --amiga-39 --fill-column 76 --output Docs/FlexCat_deutsch.guide
110 @$(MAKEINFO) Catalogs_Src/FlexCat_español.texinfo --amiga-39 --fill-column 76 --output Docs/FlexCat_español.guide
111 @$(MAKEINFO) Catalogs_Src/FlexCat_svenska.texinfo --amiga-39 --fill-column 76 --output Docs/FlexCat_svenska.guide
114 @lzx >nil: u -3 -x -e -r RAM:FlexCat_beta_bin.lzx FlexCat FlexCat.history
117 @sc:c/scompare -oFlexCat.020.pch FlexCat FlexCat.020
118 @sc:c/scompare -oFlexCat.040.pch FlexCat FlexCat.040
119 @sc:c/scompare -oFlexCat.060.pch FlexCat FlexCat.060
120 # @runelf sc:c/scompare -oFlexCat.020.pch -s FlexCat FlexCat.020
121 # @runelf sc:c/scompare -oFlexCat.040.pch -s FlexCat FlexCat.040
122 # @runelf sc:c/scompare -oFlexCat.060.pch -s FlexCat FlexCat.060