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

Subversion Repositories c16

[/] [c16/] [trunk/] [asm/] [Makefile] - Diff between revs 26 and 30

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

Rev 26 Rev 30
Line 3... Line 3...
OBJ     := assembler.o assembler_bison.o assembler_flex.o
OBJ     := assembler.o assembler_bison.o assembler_flex.o
 
 
all:    test
all:    test
 
 
loader: assembler.exe
loader: assembler.exe
        assembler ../loader.asm ../loader.bin
        assembler.exe ../loader.asm ../loader.bin
 
 
polled: assembler.exe
polled: assembler.exe
        assembler ../polled.asm ../polled.bin
        assembler.exe ../polled.asm ../polled.bin
 
 
test:   assembler.exe
test:   assembler.exe
        assembler ../test.asm ../test.bin
        assembler.exe ../test.asm ../test.bin
 
 
rtos:   assembler.exe
rtos:   assembler.exe
        assembler ../rtos.asm ../rtos.bin
        assembler.exe ../rtos.asm ../rtos.bin
 
 
assembler.exe:  $(OBJ)
assembler.exe:  $(OBJ)
        gcc -o $@ $(OBJ)
        g++ -o $@ $(OBJ)
 
 
%.o:    %.cc $(HDR)
%.o:    %.cc $(HDR)
        gcc -c -o $@ $<
        g++ -c -o $@ $<
 
 
assembler_bison.cc:     assembler.bison
assembler_bison.cc:     assembler.bison
        bison -d -v -o $@ $<
        bison -d -v -o $@ $<
 
 
assembler_bison.cc.h:   assembler.bison
assembler_bison.cc.h:   assembler.bison

powered by: WebSVN 2.1.0

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