# Makefile for the Core Join Calculus Compiler cjcc 
# Copyright (C) 1996 Peter Selinger 
# This is free software under the terms of the GNU General Public License. 

all: cjcc

cjcc: join.tab.c types.c sem.c lists.c semantics.c header.c
cjcc: serverdef.c serverinc.c lex.yy.c main.c

join.tab.c: join.y

lex.yy.c: join.lex

cjcc:
	gcc -o cjcc join.tab.c -ll

join.tab.c:
	bison join.y

lex.yy.c:
	lex join.lex
