home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
automa.zip
/
BLINKER.DEF
< prev
next >
Wrap
Text File
|
1993-07-06
|
1KB
|
69 lines
// BLINKER.DEF - Sample AUTOMAKE definition file.
// Defines an application having explicit overlay area and using BLINKER.
// Resulting files provide test and final compile/link.
// AUTOMAKE also creates a file list for the application.
// have AUTOMAKE add .ALL file to dependancies and create _OBJS macro
AUTOMAKE = _ALL _OBJS
// standard compiler switches
CLP = /a /m /n
#ifdef FINAL
// recompile all .OBJ's w/o line numbers
ALL = Y
CLP := $(CLP) /l
#else
// compile w/ debugging info and .PPO files
CLP := $(CLP) /b /p
#endif
#ifdef ALL
// update .ALL file to trigger recompile
#! echo > $(_ALL)
#endif
// Clipper inference rule
.prg.obj:
set INCLUDE=$(makepath[.ch])
set CLIPPERCMD=$(CLP)
Clipper $<
echo
// RMAKE search paths
makepath[.prg] = ".;util"
makepath[.ch] = $(INCLUDE)
makepath[.lib] = $(LIB)
// APPLICATION MODULES
// Overlay area
EXE = MyApp
PRGS_OVL = $(EXE) Mod1 Mod2 CalcUtil
MODS_OVL = Clipper(DiskSpace)
LIBS_OVL = NanFor
// Root area
LIBS = Clipper Extend
// file list for app
HEDRS = Inkey Directry FileIO
APPFILES = Blinker.def $(PRGS_OVL,>.prg) $(HEDRS,>.ch)
#compile rules
// link script file
SCRIPT = Temp.lnk
// include appropriate link dependancy rule
#ifdef FINAL
#include Final.rmk
#else
#include Test.rmk
#endif