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

Subversion Repositories tinyvliw8

[/] [tinyvliw8/] [trunk/] [tools/] [asm/] [src/] [Makefile] - Rev 6

Compare with Previous | Blame | View Log

PROG   := asm

FLEX := flex
BISON := bison

TMPSRC := parser.c parser.h tokens.c
OBJS   := asm.o parser.o tokens.o

all: $(PROG)

.l.c:
        $(FLEX) -o $@ $<

.y.c:
        $(BISON) -v -d -o $@ $<

$(PROG): $(OBJS)
        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

.c.o:
        $(CC) $(CFLAGS) $(INCDIR) -c $<

clean:
        @rm -f $(PROG) $(TMPSRC)
        @rm -f $(OBJS)
        @rm -f *.output

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.