summaryrefslogtreecommitdiff
path: root/nuttx/lib/queue/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/queue/Make.defs')
-rw-r--r--nuttx/lib/queue/Make.defs15
1 files changed, 11 insertions, 4 deletions
diff --git a/nuttx/lib/queue/Make.defs b/nuttx/lib/queue/Make.defs
index 94e8125e7..976e7a2b8 100644
--- a/nuttx/lib/queue/Make.defs
+++ b/nuttx/lib/queue/Make.defs
@@ -1,8 +1,8 @@
############################################################################
# lib/queue/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,8 +33,15 @@
#
############################################################################
-QUEUE_SRCS = sq_addlast.c sq_addfirst.c sq_addafter.c \
+# Add the queue C files to the build
+
+CSRCS += sq_addlast.c sq_addfirst.c sq_addafter.c \
sq_rem.c sq_remlast.c sq_remfirst.c sq_remafter.c
-QUEUE_SRCS += dq_addlast.c dq_addfirst.c dq_addafter.c dq_addbefore.c \
+CSRCS += dq_addlast.c dq_addfirst.c dq_addafter.c dq_addbefore.c \
dq_rem.c dq_remlast.c dq_remfirst.c
+
+# Add the queue directory to the build
+
+DEPPATH += --dep-path queue
+VPATH += :queue