Category : C Source Code
Archive   : CPAREN.ZIP
Filename : MAKEFILE.DOS

 
Output of file : MAKEFILE.DOS contained in archive : CPAREN.ZIP
#################[ MSDOS MAKEFILE for CPAREN EXPR PARSE UTL ]###############
# This Makefile is for use with QC 2.x NMAKE, or the shareware NDMAKE
# utilities, set up so default rules are similar to UNIX(tm) makerules.
#
# Type "nmake" or "make" as appropriate to build.
# Type "nmake clean" to remove the obj files, etc, "nmake clobber" removes
# all files except the basic sources (also removes executable, and outputs
# of BISON (yacc) and flex (LEX).
# For those without access to UNIX(tm) nroff, cparen.1 has been pre-formatted
# and, to make the file easily viewable using things like LIST, all
# overstrike sequences have also been filtered out.
#
# Makefile modified for MSDOS and MSC 5.x by pat@rwing.
#############################################################################

#SHELL = /bin/sh
CFLAGS = -Otln -K -Dindex=strchr -Drindex=strrchr

announce: cparen
@echo "cparen is built"

cparen.cat: cparen.1
nroff -man cparen.1 >cparen.cat

cparen: cparen.obj parse.obj lex.obj hid.obj
$(CC) -F 1fff -o cparen cparen.obj lex.obj parse.obj hid.obj

cparen.obj: cparen.c cparen.h parse.c y_tab.h
parse.obj: parse.c cparen.h
lex.obj: lex.c cparen.h parse.c
hid.obj: hid.c cparen.h
parse.c: parse.y
# -rm -f parse.c y_tab.h
@echo "There should be 7 shift/reduce conflicts"
yacc -d parse.y
ren y_tab.c parse.c

lex.c: lex.l
# -rm -f lex.c
flex lex.l
ren lex_yy.c lex.c

clobber: clean
-rm -f parse.c y_tab.h lex.c cparen.exe
clean:
-rm -f hid.obj lex.obj parse.obj cparen.obj

cparen.shar: info cparen.1 Makefile cparen.c hid.c cparen.h lex.l parse.y
shar info cparen.1 Makefile cparen.c hid.c cparen.h lex.l parse.y > cparen.shar


  3 Responses to “Category : C Source Code
Archive   : CPAREN.ZIP
Filename : MAKEFILE.DOS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/