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

Subversion Repositories c16

[/] [c16/] [trunk/] [asm/] [Makefile] - Rev 26

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


HDR     := assembler_bison.cc.h Node.hh Backend.hh Name.hh
OBJ     := assembler.o assembler_bison.o assembler_flex.o

all:    test

loader: assembler.exe
        assembler ../loader.asm ../loader.bin

polled: assembler.exe
        assembler ../polled.asm ../polled.bin

test:   assembler.exe
        assembler ../test.asm ../test.bin

rtos:   assembler.exe
        assembler ../rtos.asm ../rtos.bin

assembler.exe:  $(OBJ)
        gcc -o $@ $(OBJ)

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

assembler_bison.cc:     assembler.bison
        bison -d -v -o $@ $<

assembler_bison.cc.h:   assembler.bison
        bison -d -v -o ansi_bison.cc $<

assembler_flex.cc:      assembler.flex assembler_bison.cc.h
        flex -o$@ $<

clean:

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

powered by: WebSVN 2.1.0

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