diff options
author | Bdale Garbee <bdale@gag.com> | 2013-12-18 11:44:09 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2013-12-18 11:44:09 -0700 |
commit | 91d22f0be5af4d29e53374f0e0b3ee5a2d115e5e (patch) | |
tree | bab177dc0887e78465ad182a54fd353610a13a77 | |
parent | c401ee7ef99fa30e8e517bb64f7b2dcb0a0e6d12 (diff) | |
parent | eb659fb0ee80c25312be36b3d8adb686813db125 (diff) |
Merge branch 'with-pdclib' of ssh://git.gag.com/scm/git/fw/altos into with-pdclib
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 2ba59d94..2488cbab 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,6 +44,7 @@ SUBDIRS= ifeq ($(strip $(HAVE_PDCLIB)),yes) PDCLIB=pdclib +CLEAN_PDCLIB=clean-pdclib 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 $< > $@ -clean-local: +clean-local: $(CLEAN_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 |