summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/Make.defs')
-rw-r--r--nuttx/lib/math/Make.defs12
1 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/lib/math/Make.defs b/nuttx/lib/math/Make.defs
index c3b071298..126cd2f47 100644
--- a/nuttx/lib/math/Make.defs
+++ b/nuttx/lib/math/Make.defs
@@ -1,8 +1,8 @@
############################################################################
# lib/math/Make.defs
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -33,5 +33,11 @@
#
############################################################################
-MATH_SRCS = lib_rint.c lib_fixedmath.c lib_b16sin.c lib_b16cos.c lib_b16atan2.c
+# Add the math C files to the build
+CSRCS += lib_rint.c lib_fixedmath.c lib_b16sin.c lib_b16cos.c lib_b16atan2.c
+
+# Add the math directory to the build
+
+DEPPATH += --dep-path math
+VPATH += :math