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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [Open8 Tools/] [open8_src/] [open8_link/] [makefile] - Diff between revs 178 and 290

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 178 Rev 290
Line 1... Line 1...
 
 
CC=cc
CC=gcc
LD=cc
LD=gcc
 
 
CFLAGS= -c
CFLAGS= -c
LDFLAGS =
LDFLAGS =
 
 
CFILES = main.c memory.c parse.c files.c check.c analyze.c write.c compute.c discard.c listfile.c
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
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
OFILES = main.o memory.o parse.o files.o check.o analyze.o write.o compute.o discard.o listfile.o
 
 
 
 
all: $(OFILES) makefile
all: $(OFILES) makefile
        $(LD) $(LDFLAGS) $(OFILES) -o open8_link ; strip open8_link || true
        $(LD) $(LDFLAGS) $(OFILES) -o open8_link
 
 
main.o: main.c main.h defines.h
main.o: main.c main.h defines.h
        $(CC) $(CFLAGS) main.c
        $(CC) $(CFLAGS) main.c
 
 
memory.o: memory.c memory.h defines.h
memory.o: memory.c memory.h defines.h
Line 46... Line 46...
 
 
$(OFILES): $(HFILES)
$(OFILES): $(HFILES)
 
 
 
 
clean:
clean:
        rm -f $(OFILES) core *~ open8_link
        del $(OFILES) core *~ open8_link
 
 
install:
install:
        make ; cp open8_link /usr/local/bin
        make ; cp open8_link /usr/local/bin

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.