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

Subversion Repositories c16

[/] [c16/] [trunk/] [asm/] [Makefile] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jsauermann
 
2 33 jsauermann
HDR     := assembler_bison.hh Node.hh Backend.hh Name.hh
3 2 jsauermann
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 33 jsauermann
assembler_bison.hh:     assembler.bison
29 2 jsauermann
        bison -d -v -o ansi_bison.cc $<
30
 
31 33 jsauermann
assembler_flex.cc:      assembler.flex assembler_bison.hh
32 2 jsauermann
        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.