OpenCores
URL https://opencores.org/ocsvn/c16/c16/trunk

Subversion Repositories c16

[/] [c16/] [trunk/] [compiler/] [Makefile] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jsauermann
 
2
ZAS     := C:/sdcc/bin/as-z80
3
ZLD     := C:/sdcc/bin/aslink
4
 
5
HDR     :=  ansic_bison.cc.h Node.hh Backend.hh Name.hh
6
OBJ     := cc80.o ansic_bison.o ansic_flex.o Node.o Name.o Expression.o \
7
           Statement.o Backend.o
8
MEMTOP  := 0x2000
9
 
10
all:    test
11
 
12
cc80.exe:       $(OBJ)
13
        gcc -g -o $@ $(OBJ)
14
 
15
%.o:    %.cc $(HDR)
16
        gcc -g -c -o $@ $<
17
 
18
ansic_bison.cc: ansic.bison
19
        bison -d -v -o $@ $<
20
 
21
ansic_bison.cc.h:       ansic.bison
22
        bison -d -v -o ansi_bison.cc $<
23
 
24
ansic_flex.cc:  ansic.flex ansic_bison.cc.h
25
        flex -o$@ $<
26
 
27
loader: cc80.exe
28
        cc80 -l $(MEMTOP) ..\loader.c ..\loader.asm
29
 
30
test:   cc80.exe
31
        cc80 $(MEMTOP) ..\test.c ..\test.asm
32
 
33
rtos:   cc80.exe
34
        cc80 $(MEMTOP) ..\rtos.c ..\rtos.asm
35
 
36
clean:
37
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.