head	1.10;
access;
symbols
	codegen2-regalloc:1.10.0.22
	codegen2:1.10.0.20
	codegen2-no-regalloc:1.10
	opt-regalloc3-merge2:1.10
	opt-sideffect-merge1:1.10
	opt-regalloc3-merge1:1.10
	opt-regalloc3:1.10.0.18
	opt-regalloc3-base:1.10
	opt-sideffect:1.10.0.16
	opt-sideffect-base:1.10
	new-regalloc-thursday:1.10
	codegen2-thursday:1.10
	new-regalloc:1.10.0.14
	new-regalloc-base:1.10
	opt-deadcode:1.10.0.12
	opt-deadcode-base:1.10
	opt-const:1.10.0.10
	opt-const-base:1.10
	opt-copyprop:1.10.0.8
	opt-copyprop-base:1.10
	reg_alloc_branch:1.10.0.6
	reg_alloc_base:1.10
	opt-cse:1.10.0.4
	codegen1_branch:1.10.0.2
	codegen1_base:1.10
	syntax_split_merge2:1.8
	syntax_split:1.8.0.8
	syntax_split_base:1.8
	java_deadline:1.8.0.6
	java_deadline_branch:1.8
	java:1.8.0.4
	java_base:1.8
	semantics_branch:1.8.0.2
	semantics_base:1.8
	recovery_branch:1.6.0.2
	recovery_base:1.6
	parser:1.5.0.4
	parser_base:1.5
	scanner_release:1.5.0.2
	scanner_release_base:1.5;
locks; strict;
comment	@# @;


1.10
date	96.11.08.08.35.32;	author daveg;	state Exp;
branches;
next	1.9;

1.9
date	96.11.07.23.05.17;	author nathanw;	state Exp;
branches;
next	1.8;

1.8
date	96.10.06.03.03.04;	author hartmans;	state Exp;
branches;
next	1.7;

1.7
date	96.10.05.21.46.15;	author hartmans;	state Exp;
branches;
next	1.6;

1.6
date	96.09.28.18.38.16;	author hartmans;	state Exp;
branches;
next	1.5;

1.5
date	96.09.10.22.00.32;	author hartmans;	state Exp;
branches;
next	1.4;

1.4
date	96.09.09.19.05.27;	author daveg;	state Exp;
branches;
next	1.3;

1.3
date	96.09.08.08.32.47;	author daveg;	state Exp;
branches;
next	1.2;

1.2
date	96.09.08.02.50.28;	author daveg;	state Exp;
branches;
next	1.1;

1.1
date	96.09.07.21.24.44;	author daveg;	state Exp;
branches;
next	;


desc
@@


1.10
log
@no longer build scanner binary
@
text
@# Sample Makefile for 6.035
SRCTOP=..


LIBSRCS = lex.clu token.clu keyword_table.clu attribs.clu
SRCS = scanner.clu
EQUS = token.equ
CLULIBS = scanner state il utils
LIBNAME = scanner
LIBS = $(SPEC_LIBS) -use $(LIBDIR)/useful.lib  -use $(LIBDIR)/misc.lib

include ../mk/pclu.mk
include ../mk/lib.mk

# This is a simple Makefile, using PCLU.

# useful.lib is used to get hash function


# the first thing listed will be generated when you type "make"

clean::
	rm -f *.o scanner.lib utils.lib clu.junk pclu.xref




@


1.9
log
@Boring bugfixes
@
text
@a6 1
PROG = scanner
a13 1
include ../mk/prog.mk
@


1.8
log
@Update  to have workingish attribs cluster.
@
text
@d9 1
a9 1
CLULIBS = scanner state
@


1.7
log
@Add atrribs.clu here.
@
text
@d9 1
a9 1
CLULIBS = scanner
@


1.6
log
@Bring in Scanner Makefile on mainliene
@
text
@d5 1
a5 1
LIBSRCS = lex.clu token.clu keyword_table.clu
@


1.5
log
@Commit scanner that works besides not having
punctuation globs in the kyeword table.

The Makefile should work now; it didn't
used to include misc.lib
@
text
@d2 1
a2 3
#
# This is a simple Makefile, using PCLU.
#
a3 1
.SUFFIXES: .clu .equ .lib .o
d5 3
a7 4
LIB_SRCS = lex.clu token.clu keyword_table.clu
EXE_SRCS = scanner.clu $(LIB_SRCS)
LIB_OBJS = $(LIB_SRCS:.clu=.o)
EXE_OBJS = $(EXE_SRCS:.clu=.o)
d9 9
a18 1
LIBDIR = /mit/PCLU/lib/lib
a19 1
LIBS = -use scanner.lib -use $(LIBDIR)/useful.lib  -use $(LIBDIR)/misc.lib
a20 1
PCLU = PCLU
d22 1
a22 3
#
# use -debug to generate "debugable", -optimize to generate "executable"
#
d24 2
a25 4
# PCLUFLAGS = -debug
PCLUFLAGS = -optimize

# the first thing listed will be generated when you type "make"
a26 2
scanner: scanner.lib $(EXE_SRCS) $(EQUS) $(EXE_OBJS)
	$(PCLU) $(PCLUFLAGS) -link scanner $(EXE_OBJS)
a27 2
scanner.lib: $(LIB_SRCS) $(EQUS)
	$(PCLU) $(PCLUFLAGS) -spec $(LIB_SRCS) $(EQUS) -create scanner.lib
a28 2
.clu.o: 
	$(PCLU) $(PCLUFLAGS) $< $(EQUS) $(LIBS)
a29 2
clean:
	rm -f *.o scanner.lib utils.lib clu.junk pclu.xref
@


1.4
log
@added keyword_table.clu, removed lex.equ
@
text
@d16 1
a16 1
LIBS = -use scanner.lib -use $(LIBDIR)/useful.lib 
d36 1
a36 1
	$(PCLU) $< $(EQUS) $(LIBS)
@


1.3
log
@Completion of first round of development -- now identifies all keywords
@
text
@d8 1
a8 1
LIB_SRCS = lex.clu token.clu
d12 1
a12 1
EQUS = token.equ lex.equ
@


1.2
log
@rewrote makefile to fit our needs
@
text
@d39 1
a39 1
	rm -f *.o scanner.lib utils.lib
@


1.1
log
@checkin of sample makefile--will fix later
@
text
@d8 5
a12 3
SRCS = string_table.clu lex.clu token.clu utils.clu id_token.clu scanner.clu
OBJS = string_table.o lex.o token.o utils.o id_token.o scanner.o
EQUS = token.equ general.equ
d29 2
a30 2
scanner: $(OBJS) start_up.o 
	$(PCLU) $(PCLUFLAGS) -link scanner $(OBJS) start_up.o 
d32 2
a33 17
string_table: string_table.o start_up.o
	$(PCLU) $(PCLUFLAGS) -link string_table string_table.o start_up.o 

scanner.lib:
	$(PCLU) $(PCLUFLAGS) -spec $(SRCS) $(EQUS) -create scanner.lib

utils.lib: 
	$(PCLU) $(PCLUFLAGS) -spec utils.clu -create utils.lib

# dependancies

id_token.clu: scanner.lib
utils.clu: utils.lib
string_table.clu: scanner.lib utils.lib
scanner.clu: scanner.lib utils.lib
lex.clu: scanner.lib utils.lib
token.clu: scanner.lib utils.lib
d36 1
a36 1
	$(PCLU) $(PCLUFLAGS) $*.clu $(EQUS) $(LIBS)
@
