6 set CFLAGS "Opt Ignore 100 Define SKIP_PROTO CPU $CPU Define mc$CPU Define __SASC__"
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"
15 If "{Target}" eq "all"
16 sc NoLink #?.c ProgramName $EXE $CFLAGS
17 sc Link #?.o ProgramName $EXE NoIcons
19 If "{Target}" eq "exe"
20 sc Link #?.o ProgramName jed NoIcons
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
31 sc NoLink {Target} $CFLAGS