head     1.1;
branch   1.1.1;
access   ;
symbols  start:1.1.1.1 initial:1.1.1;
locks    ; strict;
comment  @# @;
expand   @b@;


1.1
date     2007.08.10.02.40.06;  author arish.alreja;  state Exp;
branches 1.1.1.1;
next     ;
commitid        258946bbd0014567;

1.1.1.1
date     2007.08.10.02.40.06;  author arish.alreja;  state Exp;
branches ;
next     ;
commitid        258946bbd0014567;


desc
@@



1.1
log
@Initial revision
@
text
@
ZAS	:= C:/sdcc/bin/as-z80
ZLD	:= C:/sdcc/bin/aslink

HDR	:=  ansic_bison.cc.h Node.hh Backend.hh Name.hh
OBJ	:= cc80.o ansic_bison.o ansic_flex.o Node.o Name.o Expression.o \
	   Statement.o Backend.o
MEMTOP	:= 0x2000

all:	test

cc80.exe:	$(OBJ)
	gcc -g -o $@@ $(OBJ)

%.o:	%.cc $(HDR)
	gcc -g -c -o $@@ $<

ansic_bison.cc:	ansic.bison
	bison -d -v -o $@@ $<

ansic_bison.cc.h:	ansic.bison
	bison -d -v -o ansi_bison.cc $<

ansic_flex.cc:	ansic.flex ansic_bison.cc.h
	flex -o$@@ $<

loader:	cc80.exe
	cc80 -l ..\loader.c ..\loader.asm

test:	cc80.exe
	cc80 ..\test.c ..\test.asm

rtos:	cc80.exe
	cc80 ..\rtos.c ..\rtos.asm

clean:

@


1.1.1.1
log
@Initial Commit
@
text
@@
