home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
lr.zip
/
SAMPLE.MAK
< prev
next >
Wrap
Text File
|
1993-05-15
|
1KB
|
31 lines
#╔══════════════════════════════════════════════════════════════════════════╗
#║ Copyright (C) Transcendental Automation ,1993. ║
#╟──────────────────────────────────────────────────────────────────────────╢
#║ SAMPLE.MAK ║
#╟──────────────────────────────────────────────────────────────────────────╢
#║ This makefile create program 'sample.exe' which is an example of ║
#║ usage of LR. Sample.exe is a simple interpreter. The syntax of input ║
#║ language of it is discribed in file sample.gr. ║
#╚══════════════════════════════════════════════════════════════════════════╝
LRDIR = .
CC=ICC -c -Ss -I$(LRDIR)
LINK=LINK386 /W /PM:VIO /NOE
LRP=$(LRDIR)\LRP.EXE
SAMPLE.EXE : SAMPLE.OBJ TABLE.OBJ COMMANDS.OBJ
$(LINK) SAMPLE.OBJ+TABLE.OBJ+COMMANDS.OBJ, SAMPLE.EXE, NUL, $(LRDIR)\LRX.LIB;
SAMPLE.OBJ : SAMPLE.C SAMPLE.H SAMPLE.STR
$(CC) SAMPLE.C
TABLE.OBJ : TABLE.C SAMPLE.H
$(CC) TABLE.C
COMMANDS.OBJ : COMMANDS.C SAMPLE.H SAMPLE.STR
$(CC) COMMANDS.C
SAMPLE.STR : SAMPLE.GR
$(LRP) SAMPLE.GR