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

Subversion Repositories c16

[/] [c16/] [trunk/] [asm/] [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
HDR     := assembler_bison.cc.h Node.hh Backend.hh Name.hh
3
OBJ     := assembler.o assembler_bison.o assembler_flex.o
4
 
5
all:    test
6
 
7
loader: assembler.exe
8 30 jsauermann
        assembler.exe ../loader.asm ../loader.bin
9 2 jsauermann
 
10 7 jsauermann
polled: assembler.exe
11 30 jsauermann
        assembler.exe ../polled.asm ../polled.bin
12 7 jsauermann
 
13 2 jsauermann
test:   assembler.exe
14 30 jsauermann
        assembler.exe ../test.asm ../test.bin
15 2 jsauermann
 
16
rtos:   assembler.exe
17 30 jsauermann
        assembler.exe ../rtos.asm ../rtos.bin
18 2 jsauermann
 
19
assembler.exe:  $(OBJ)
20 30 jsauermann
        g++ -o $@ $(OBJ)
21 2 jsauermann
 
22
%.o:    %.cc $(HDR)
23 30 jsauermann
        g++ -c -o $@ $<
24 2 jsauermann
 
25
assembler_bison.cc:     assembler.bison
26
        bison -d -v -o $@ $<
27
 
28
assembler_bison.cc.h:   assembler.bison
29
        bison -d -v -o ansi_bison.cc $<
30
 
31
assembler_flex.cc:      assembler.flex assembler_bison.cc.h
32
        flex -o$@ $<
33
 
34
clean:
35
 

powered by: WebSVN 2.1.0

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