URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
[/] [open8_urisc/] [trunk/] [Open8 Tools/] [open8_src/] [open8_as/] [makefile] - Rev 210
Go to most recent revision | Compare with Previous | Blame | View Log
CC=cc
LD=cc
CFLAGS= -c
LDFLAGS = -lm
WLAFLAGS = $(CFLAGS) -DUNIX -Dv8urisc
CFILES = main.c parse.c include_file.c pass_1.c pass_2.c pass_3.c pass_4.c stack.c listfile.c
HFILES = main.h parse.h include_file.h pass_1.h pass_2.h pass_3.h pass_4.h stack.h listfile.h defines.h
OFILES = main.o parse.o include_file.o pass_1.o pass_2.o pass_3.o pass_4.o stack.o listfile.o
all: $(OFILES) makefile
$(LD) $(OFILES) $(LDFLAGS) -o open8_as ; strip open8_as || true
main.o: main.c defines.h main.h makefile
$(CC) $(WLAFLAGS) main.c
parse.o: parse.c defines.h parse.h makefile
$(CC) $(WLAFLAGS) parse.c
include_file.o: include_file.c defines.h include_file.h makefile
$(CC) $(WLAFLAGS) include_file.c
pass_1.o: pass_1.c defines.h pass_1.h parse.h makefile opcodes_v8urisc.c
$(CC) $(WLAFLAGS) pass_1.c
pass_2.o: pass_2.c defines.h pass_2.h makefile
$(CC) $(WLAFLAGS) pass_2.c
pass_3.o: pass_3.c defines.h pass_3.h makefile
$(CC) $(WLAFLAGS) pass_3.c
pass_4.o: pass_4.c defines.h pass_4.h makefile
$(CC) $(WLAFLAGS) pass_4.c
stack.o: stack.c defines.h stack.h makefile
$(CC) $(WLAFLAGS) stack.c
listfile.o: listfile.c defines.h makefile
$(CC) $(WLAFLAGS) listfile.c
$(OFILES): $(HFILES)
clean:
rm -f $(OFILES) core *~ open8_as
install:
make ; cp open8_as /usr/local/bin
Go to most recent revision | Compare with Previous | Blame | View Log