I guess,
FIN71.RMK below is what you are looking for (once again hopefully this time i'am correct, InshaAllah wa billahi taufik wal hidayah, Amen.). Let me summarize & explain very clearly, in case you forget the old version system, as follows:
- It's original structure *.rmk last update 1997. "\" for continue code, "//" for comments.
- It's to generate Fin71000.exe without overlays (*.ovl) with Clipper52e.
- It's to place topmost procedure at Fin71000.prg as the main procedure, the rest everywhere are sub-procs.
- Its compiling is under MS-DOS.6.x or under Win98 at DOS-prompt.
- its *.exe run under any Windows.
- the lib of "INCLUDE" is directory-default under Clipper, the rest are my own libs and 3rd party ones.
- the "OBJ" is to place OBJs in directory to recognize by compiler (i put OBJs separately for every system).
BEFORE COMPILING, [fardhu 'ain] make sure to declare directive commands at DOS-prompt (see sample of my
Setcl52.bat from my doc year 1997)
Code: Select all
SET CLIPPER=//F120 //DYNF:8
SET INCLUDE=\CL52\INCLUDE;\cl52\fastlib;\cl52\fastgt15
SET LIB=\CL52\LIB;\cl52\fastlib;\cl52\fastgt15
SET OBJ=\CL52\OBJ
SET PLL=\C52\PLL
SET CLIPPERCMD=/O\CL52\OBJ\ /M /W /N
SET PATH=\CL52\BIN;C:\WINDOWS;\WINDOWS\COMMAND
SET
Code: Select all
//-- FIN71.rmk [tailor made for client]: RESOR PANTAI CARITA BEACH HOTEL, West Java, Indonesia
// Make file for FIN71000.exe :General Office ACCOUNTING System (Back Office Package).
// Copyright (c) 1997 Agil,,, @all rights reserved.
//
// Define macros
makepath[.h] = "INCLUDE\;GLv7\"
makepath[.prg] = "GLv7\;FOSYS\"
makepath[.obj] = "OBJ\"
// Inference rule for compiling (.prg) to .OBJ files
.prg.obj:
clipper $**
// Dependency statement for .OBJ files
FIN71000.OBJ: FIN71000.PRG
GL710000.OBJ: GL710000.PRG
GLDBASE6.OBJ: GLDBASE6.PRG
GLGENLIB.OBJ: GLGENLIB.PRG
GLGENLB6.OBJ: GLGENLB6.PRG
GLRPT7.OBJ: GLRPT7.PRG
GLRPT72.OBJ: GLRPT72.PRG
GLINQ6.OBJ: GLINQ6.PRG
GLLOGO7.OBJ: GLLOGO7.PRG
PRGLIB.OBJ: PRGLIB.PRG
TBROWSE5.OBJ: TBROWSE5.PRG
AP610000.OBJ: AP610000.PRG
APDBASE6.OBJ: APDBASE6.PRG
APGENLB6.OBJ: APGENLB6.PRG
APRPT6.OBJ: APRPT6.PRG
APINQ6.OBJ: APINQ6.PRG
AR610000.OBJ: AR610000.PRG
ARDBASE6.OBJ: ARDBASE6.PRG
ARGENLB6.OBJ: ARGENLB6.PRG
ARRPT6.OBJ: ARRPT6.PRG
ARINQ6.OBJ: ARINQ6.PRG
//
// Dependency rule for linking .OBJ files to a .EXE file
FIN71000.EXE: FIN71000.OBJ GLDBASE6.OBJ GLGENLB6.OBJ GLRPT7.OBJ GLINQ6.OBJ \
GLRPT72.OBJ GLLOGO7.OBJ GLGENLIB.OBJ GL710000.OBJ PRGLIB.OBJ \
TBROWSE5.OBJ APDBASE6.OBJ APGENLB6.OBJ APRPT6.OBJ APINQ6.OBJ \
AP610000.OBJ ARDBASE6.OBJ ARGENLB6.OBJ ARRPT6.OBJ ARINQ6.OBJ AR610000.OBJ
RTLINK @FIN71
// rtlink FILE $(objs) VERBOSE
Code: Select all
// Fin71.lnk
file fin71000
file gl710000
file gldbase6
FILE GLGENLIB
file glgenlb6
file glinq6
file gllogo7
file glrpt7
file glrpt72
file ap610000
file apdbase6
file apgenlb6
file apinq6
file aprpt6
file ar610000
file ardbase6
file argenlb6
file arinq6
file arrpt6
file prglib
file tbrowse5
verbose
Hope this fixes your problem.
NB: Believe it or not, a copy of this Accounting System still runs till today at one of Indonesia's National Foundation who bought from me. While the copies of the above sys (for Hotel Front Office System in Accor-Ibis Reporting Standard) still runs at 3 hotels (my clients). The Ibis uninstalled it in 2010. Next year it'is scheduled to reinstall them with HMG331-build