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

Subversion Repositories c16

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

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 29 jsauermann
        g++ -g -o $@ $(OBJ)
14 2 jsauermann
 
15
%.o:    %.cc $(HDR)
16 29 jsauermann
        g++ -g -c -o $@ $<
17 2 jsauermann
 
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 29 jsauermann
        cc80.exe -l $(MEMTOP) ..\loader.c ..\loader.asm
29 2 jsauermann
 
30 7 jsauermann
polled: cc80.exe
31 29 jsauermann
        cc80.exe $(MEMTOP) ..\polled.c ..\polled.asm
32 7 jsauermann
 
33 2 jsauermann
test:   cc80.exe
34 29 jsauermann
        cc80.exe $(MEMTOP) ..\test.c ..\test.asm
35 2 jsauermann
 
36
rtos:   cc80.exe
37 29 jsauermann
        cc80.exe $(MEMTOP) ..\rtos.c ..\rtos.asm
38 2 jsauermann
 
39
clean:
40
 

powered by: WebSVN 2.1.0

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