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

Subversion Repositories c16

[/] [c16/] [trunk/] [compiler/] [Makefile] - Diff between revs 26 and 29

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 26 Rev 29
Line 8... Line 8...
MEMTOP  := 0x2000
MEMTOP  := 0x2000
 
 
all:    test
all:    test
 
 
cc80.exe:       $(OBJ)
cc80.exe:       $(OBJ)
        gcc -g -o $@ $(OBJ)
        g++ -g -o $@ $(OBJ)
 
 
%.o:    %.cc $(HDR)
%.o:    %.cc $(HDR)
        gcc -g -c -o $@ $<
        g++ -g -c -o $@ $<
 
 
ansic_bison.cc: ansic.bison
ansic_bison.cc: ansic.bison
        bison -d -v -o $@ $<
        bison -d -v -o $@ $<
 
 
ansic_bison.cc.h:       ansic.bison
ansic_bison.cc.h:       ansic.bison
Line 23... Line 23...
 
 
ansic_flex.cc:  ansic.flex ansic_bison.cc.h
ansic_flex.cc:  ansic.flex ansic_bison.cc.h
        flex -o$@ $<
        flex -o$@ $<
 
 
loader: cc80.exe
loader: cc80.exe
        cc80 -l $(MEMTOP) ..\loader.c ..\loader.asm
        cc80.exe -l $(MEMTOP) ..\loader.c ..\loader.asm
 
 
polled: cc80.exe
polled: cc80.exe
        cc80 $(MEMTOP) ..\polled.c ..\polled.asm
        cc80.exe $(MEMTOP) ..\polled.c ..\polled.asm
 
 
test:   cc80.exe
test:   cc80.exe
        cc80 $(MEMTOP) ..\test.c ..\test.asm
        cc80.exe $(MEMTOP) ..\test.c ..\test.asm
 
 
rtos:   cc80.exe
rtos:   cc80.exe
        cc80 $(MEMTOP) ..\rtos.c ..\rtos.asm
        cc80.exe $(MEMTOP) ..\rtos.c ..\rtos.asm
 
 
clean:
clean:
 
 

powered by: WebSVN 2.1.0

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