summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/Makefile
blob: e9c64218815b537306569ae9e5e607bd834c2453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include ../common.mk
CFLAGS += -I$(bsp_dir)/include

obj = eos.o msgq.o event.o unicode.o
lib = ../libeos.a


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

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

all: $(lib)

$(lib): $(obj)
	$(AR) rcs $@ $(obj)

clean:
	rm -f *.o $(lib)