forked from m-labs/milkymist
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
44 lines (35 loc) · 1.51 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
MMDIR=../..
INCLUDES_NOLIBC=-DPRINTF_FLOAT
include $(MMDIR)/software/include.mak
OBJECTS=fpvm.o gfpus.o lnfpus.o pfpu.o
.PHONY: all clean depend install
all: libfpvm.a
libfpvm.a: $(OBJECTS)
$(AR) clr libfpvm.a $(OBJECTS)
$(RANLIB) libfpvm.a
install: all
test -n "$(RTEMS_MAKEFILE_PATH)"
cp libfpvm.a $(RTEMS_MAKEFILE_PATH)/lib
mkdir -p $(RTEMS_MAKEFILE_PATH)/lib/include/fpvm
cp ../include/fpvm/* $(RTEMS_MAKEFILE_PATH)/lib/include/fpvm
depend:
makedepend -Y -- $(CFLAGS) -- *.c
clean:
rm -f $(OBJECTS) libfpvm.a
rm -f .*~ *~ Makefile.bak
# DO NOT DELETE
fpvm.o: ../../software/include/base/version.h
fpvm.o: ../../software/include/fpvm/is.h ../../software/include/fpvm/fpvm.h
fpvm.o: ../../software/include/fpvm/ast.h
gfpus.o: ../../software/include/fpvm/is.h ../../software/include/fpvm/fpvm.h
gfpus.o: ../../software/include/fpvm/ast.h ../../software/include/fpvm/pfpu.h
gfpus.o: ../../software/include/fpvm/schedulers.h
gfpus.o: ../../software/include/hw/pfpu.h ../../software/include/hw/common.h
lnfpus.o: ../../software/include/fpvm/is.h ../../software/include/fpvm/fpvm.h
lnfpus.o: ../../software/include/fpvm/ast.h
lnfpus.o: ../../software/include/fpvm/pfpu.h
lnfpus.o: ../../software/include/fpvm/schedulers.h
lnfpus.o: ../../software/include/hw/pfpu.h ../../software/include/hw/common.h
pfpu.o: ../../software/include/hw/pfpu.h ../../software/include/hw/common.h
pfpu.o: ../../software/include/fpvm/fpvm.h ../../software/include/fpvm/is.h
pfpu.o: ../../software/include/fpvm/ast.h ../../software/include/fpvm/pfpu.h