aboutsummaryrefslogtreecommitdiff
path: root/pthreads/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pthreads/common.mk')
-rwxr-xr-xpthreads/common.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/pthreads/common.mk b/pthreads/common.mk
index da26f719e..3594a36cc 100755
--- a/pthreads/common.mk
+++ b/pthreads/common.mk
@@ -1,11 +1,16 @@
# Common makefile definitions
+!ifdef DEBUG
+OUTDIR=obj_d
+!else
+OUTDIR=obj
+!endif
RESOURCE_OBJS = \
version.$(RESEXT)
# pthread.c aggregates all source into a single compilation unit for inlinability
DLL_OBJS = \
- pthread.$(OBJEXT)
+ $(OUTDIR)\pthread.$(OBJEXT)
# Separate modules for minimising the size of statically linked images
STATIC_OBJS = \