Dec 152017
Programmer’s Journal Volume 7 Number 5 source code disk. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
ASMHDR.C | 3536 | 1272 | deflated |
ASMHDR.EXE | 13788 | 7923 | deflated |
COOP.C | 2657 | 703 | deflated |
COOP.H | 2255 | 531 | deflated |
EVGALINE.C | 5398 | 1381 | deflated |
GRAPHWLD.PAS | 7259 | 1578 | deflated |
GRWDEMO.PAS | 6195 | 2259 | deflated |
JOE.CXX | 12 | 12 | stored |
JOE.H | 13 | 13 | stored |
JOE.HXX | 12 | 12 | stored |
LIBGEN.C | 2278 | 860 | deflated |
LIBGEN.EXE | 10265 | 6481 | deflated |
MAKE.C | 9501 | 3073 | deflated |
MAKE.DOC | 4066 | 1173 | deflated |
MAKE.EXE | 16813 | 10561 | deflated |
MAKE.MAK | 305 | 161 | deflated |
MAKEFILE | 168 | 102 | deflated |
MK.BAT | 280 | 138 | deflated |
MS_DOS.ASM | 203 | 133 | deflated |
OOP.CLS | 3998 | 803 | deflated |
OUTCHR.ASM | 247 | 150 | deflated |
PJINDEX.66 | 8992 | 2748 | deflated |
PUBCLASS.H | 1263 | 469 | deflated |
README7.5 | 6819 | 2551 | deflated |
SEND.C | 1430 | 571 | deflated |
SUE.CPP | 12 | 12 | stored |
SUE.HPP | 12 | 12 | stored |
TEST.C | 1889 | 574 | deflated |
TEST.EXE | 11049 | 5977 | deflated |
TEST2.C | 766 | 330 | deflated |
TEST2.EXE | 14461 | 7306 | deflated |
TEST360.C | 6699 | 1672 | deflated |
TEST360.EXE | 12404 | 6538 | deflated |
TIMER.PAS | 2928 | 819 | deflated |
VGA360.ASM | 6404 | 2016 | deflated |
Download File PJ75.ZIP Here
Contents of the MAKE.DOC file
CURSES Appendix B
___________________________________________________________________________
B.1 A Program Maintenance Tool
A Unix like make program is provided with the Curses
package. Although this is not a full implementation of
make, it works very similarly to the Unix version. The
following features are supported:
Usage: make [-B | -b] [target_name(s)]
o the file with targets and instructions must be named
makefile and be in the current working directory
o if the -B (or -b) option is used, make will build a
batch shell script to construct the target(s) desired
(file placed in MK.BAT); useful if PC has too little
RAM to spawn commands while make is executing
o if a target is not given on the command line then the
first target in makefile will be made
o all characters after a # are considered comments
o all dependencies are made first before the main
targets
o targets without dependencies will always be made
o files whose suffixes are .c, .h, .cpp, .cxx, .hpp or
.hxx do not need targets and will be considered up to
date
o there are up to eight (8) instructions per target
allowed
o instructions starting with the @ character will not
be echoed to the screen before being performed
o if errors are detected by the exit value (non-zero)
of any instruction (except MS-DOS internal functions),
make will stop execution and exit with the exit value
of the instruction
o each individual target group with instructions must
be separated by at least one blank line
B-1
CURSES Appendix B
___________________________________________________________________________
The makefile must follow this syntax:
[# comment]
target1 : [dependency1 ...] [# comment]
[instruction1] [# comment]
[instruction2] [# comment]
[instruction3] [# comment]
target2 : [dependency1 ...] ...
The make utility does not currently support macros and
environment variables in dependency lines. No batch shell
scripts may be run from make. Also, no line may be sepa-
rated with a '\' character. The following is a sample
makefile layout for a make-believe program:
# makefile for foo.exe - uses MSC 5.0
foo.exe : foo.obj junk.obj scurses.lib
cl foo junk -link scurses
foo.obj : foo.c foo.h
cl -c foo.c
junk.obj : junk.asm
masm junk;
curses.lib : # needed to resolve foo.exe : line
junk.asm : # needed to resolve junk.obj : line
# not needed for null dependency targets for .c & .h
# end of makefile
B-2
December 15, 2017
Add comments