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