summaryrefslogtreecommitdiff
path: root/code/ecp/fe310/Makefile
blob: 1ccf3224fd3aa418a06e552f99f4e85e1a35e20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include ../Makefile.platform
CFLAGS=$(CFLAGS_PL) $(PIC) -I.. -I../../fe310

obj_tr = transport.o
obj_tm = time.o


%.o: %.c
	$(CC) $(CFLAGS) -c $<

all: libecptr.a libecptm.a
	
libecptr.a: $(obj_tr)
	$(AR) rcs libecptr.a $(obj_tr)

libecptm.a: $(obj_tm)
	$(AR) rcs libecptm.a $(obj_tm)

clean:
	rm -f *.o *.a