projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9c200c3
)
altos: create target pdclib directories before building
author
Keith Packard
<keithp@keithp.com>
Wed, 18 Dec 2013 18:43:16 +0000
(10:43 -0800)
committer
Keith Packard
<keithp@keithp.com>
Wed, 18 Dec 2013 18:43:16 +0000
(10:43 -0800)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 2ba59d9454914459f5cc573191b9c8f5a4446d84..2488cbab371e0efe992bf621c62feb639548aea2 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-44,6
+44,7
@@
SUBDIRS=
ifeq ($(strip $(HAVE_PDCLIB)),yes)
PDCLIB=pdclib
ifeq ($(strip $(HAVE_PDCLIB)),yes)
PDCLIB=pdclib
+CLEAN_PDCLIB=clean-pdclib
endif
ifeq ($(strip $(HAVE_SDCC)),yes)
endif
ifeq ($(strip $(HAVE_SDCC)),yes)
@@
-110,8
+111,11
@@
ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
ao_whiten.h: make-whiten
nickle $< > $@
ao_whiten.h: make-whiten
nickle $< > $@
-clean-local:
+clean-local:
$(CLEAN_PDCLIB)
rm -f altitude.h ao_kalman.h
pdclib:
rm -f altitude.h ao_kalman.h
pdclib:
- cd ../pdclib && make && make prefix=`pwd`/opt install
+ cd ../pdclib && mkdir -p opt/include opt/lib && make && make prefix=`pwd`/opt install
+
+clean-pdclib:
+ cd ../pdclib && make clean && rm -rf opt
\ No newline at end of file