- Now puts cursor position in window title properly instead of overwriting
[tangerine.git] / workbench / tools / Edit / MkEd
bloba4e15b6ab918a85dcf889466c1173a0e4cea6125
1 .key Target/a
2 .bra {
3 .ket }
5 set CPU    "68020"
6 set CFLAGS "Opt Ignore 100 Define SKIP_PROTO CPU $CPU Define mc$CPU Define __SASC__"
7 set EXE    "Jed"
9 If "{Target}" eq "help"
10    echo "Usage: make file, compile one file using SAS/C compiler"
11    echo "use 'MakeEd all' to rebuild the entire project"
12    echo "    'MakeEd exe' to make linkage of all object files"
13    echo "    'MakeEd cat' to rebuild catalog files"
14 Else
15         If "{Target}" eq "all"
16                 sc NoLink #?.c ProgramName $EXE $CFLAGS
17                 sc   Link #?.o ProgramName $EXE NoIcons
18         Else
19                 If "{Target}" eq "exe"
20                         sc Link #?.o ProgramName jed NoIcons
21                 Else
22                         If "{Target}" eq "cat"
23                                 ; Rebuild strings header:
24                                 CatComp /Catalogs/JanoEditor.cd CFILE Jed_Strings.h NOARRAY NOBLOCK NOCODE
26                                 ; Rebuild translated catalog:
27                                 CatComp /Catalogs/JanoEditor.cd /Catalogs/français.ct CATALOG /Catalogs/français/JanoEditor.catalog
28                                 CatComp /Catalogs/JanoEditor.cd /Catalogs/deutsch.ct CATALOG /Catalogs/deutsch/JanoEditor.catalog
29                                 CatComp /Catalogs/JanoEditor.cd /Catalogs/russian.ct CATALOG /Catalogs/russian/JanoEditor.catalog
30                         Else
31                                 sc NoLink {Target} $CFLAGS
32                         EndIf
33                 EndIf
34         EndIf
35 EndIf