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

Subversion Repositories hwlu

[/] [hwlu/] [trunk/] [sw/] [Makefile] - Blame information for rev 15

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 kavi
CC = gcc
2
CFLAGS = -O2
3
EXE = .exe
4
 
5
all: gen_hw_looping gen_priority_encoder gen_ixgen
6
 
7
gen_hw_looping: gen_hw_looping.o common.o
8
        $(CC) gen_hw_looping.o common.o -o gen_hw_looping
9
 
10
gen_priority_encoder: gen_priority_encoder.o common.o
11
        $(CC) gen_priority_encoder.o common.o -o gen_priority_encoder
12
 
13
gen_ixgen: gen_ixgen.o common.o
14
        $(CC) gen_ixgen.o common.o -o gen_ixgen
15
 
16
common.o: common.c common.h
17
        $(CC) $(CFLAGS) -c common.c
18
 
19
gen_hw_looping.o: gen_hw_looping.c common.h
20
        $(CC) $(CFLAGS) -c gen_hw_looping.c
21
 
22
gen_priority_encoder.o: gen_priority_encoder.c common.h
23
        $(CC) $(CFLAGS) -c gen_priority_encoder.c
24
 
25
gen_ixgen.o: gen_ixgen.c common.h
26
        $(CC) $(CFLAGS) -c gen_ixgen.c
27
 
28
clean:
29
        rm -f *.o gen_hw_looping$(EXE) gen_priority_encoder$(EXE) gen_ixgen$(EXE)

powered by: WebSVN 2.1.0

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