URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
[/] [open8_urisc/] [trunk/] [Open8 Tools/] [open8_src/] [open8_link/] [makefile] - Rev 280
Go to most recent revision | Compare with Previous | Blame | View Log
CC=cc
LD=cc
CFLAGS= -c
LDFLAGS =
CFILES = main.c memory.c parse.c files.c check.c analyze.c write.c compute.c discard.c listfile.c
HFILES = main.h memory.h parse.h files.h check.h analyze.h write.h compute.h discard.h listfile.h defines.h
OFILES = main.o memory.o parse.o files.o check.o analyze.o write.o compute.o discard.o listfile.o
all: $(OFILES) makefile
$(LD) $(LDFLAGS) $(OFILES) -o open8_link ; strip open8_link || true
main.o: main.c main.h defines.h
$(CC) $(CFLAGS) main.c
memory.o: memory.c memory.h defines.h
$(CC) $(CFLAGS) memory.c
parse.o: parse.c parse.h defines.h
$(CC) $(CFLAGS) parse.c
files.o: files.c files.h defines.h
$(CC) $(CFLAGS) files.c
check.o: check.c check.h defines.h
$(CC) $(CFLAGS) check.c
analyze.o: analyze.c analyze.h defines.h
$(CC) $(CFLAGS) analyze.c
write.o: write.c write.h defines.h
$(CC) $(CFLAGS) write.c
compute.o: compute.c compute.h defines.h
$(CC) $(CFLAGS) compute.c
discard.o: discard.c discard.h defines.h
$(CC) $(CFLAGS) discard.c
listfile.o: listfile.c listfile.h defines.h
$(CC) $(CFLAGS) listfile.c
$(OFILES): $(HFILES)
clean:
rm -f $(OFILES) core *~ open8_link
install:
make ; cp open8_link /usr/local/bin
Go to most recent revision | Compare with Previous | Blame | View Log