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] - Blame information for rev 251

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 178 jshamlet
 
2
CC=cc
3
LD=cc
4
 
5
CFLAGS= -c
6
LDFLAGS =
7
 
8
CFILES = main.c memory.c parse.c files.c check.c analyze.c write.c compute.c discard.c listfile.c
9
HFILES = main.h memory.h parse.h files.h check.h analyze.h write.h compute.h discard.h listfile.h defines.h
10
OFILES = main.o memory.o parse.o files.o check.o analyze.o write.o compute.o discard.o listfile.o
11
 
12
 
13
all: $(OFILES) makefile
14
        $(LD) $(LDFLAGS) $(OFILES) -o open8_link ; strip open8_link || true
15
 
16
main.o: main.c main.h defines.h
17
        $(CC) $(CFLAGS) main.c
18
 
19
memory.o: memory.c memory.h defines.h
20
        $(CC) $(CFLAGS) memory.c
21
 
22
parse.o: parse.c parse.h defines.h
23
        $(CC) $(CFLAGS) parse.c
24
 
25
files.o: files.c files.h defines.h
26
        $(CC) $(CFLAGS) files.c
27
 
28
check.o: check.c check.h defines.h
29
        $(CC) $(CFLAGS) check.c
30
 
31
analyze.o: analyze.c analyze.h defines.h
32
        $(CC) $(CFLAGS) analyze.c
33
 
34
write.o: write.c write.h defines.h
35
        $(CC) $(CFLAGS) write.c
36
 
37
compute.o: compute.c compute.h defines.h
38
        $(CC) $(CFLAGS) compute.c
39
 
40
discard.o: discard.c discard.h defines.h
41
        $(CC) $(CFLAGS) discard.c
42
 
43
listfile.o: listfile.c listfile.h defines.h
44
        $(CC) $(CFLAGS) listfile.c
45
 
46
 
47
$(OFILES): $(HFILES)
48
 
49
 
50
clean:
51
        rm -f $(OFILES) core *~ open8_link
52
 
53
install:
54
        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.