diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2011-11-03 17:44:33 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2011-11-03 17:44:33 +0100 |
commit | e5e59f8ce8c95f01f011f945cfb844dfe79adaa5 (patch) | |
tree | 91aaa9678f7c92230c338851ceed897147c9cd46 /src | |
parent | 162da0ff4f11598bd6999ab78be26f75545f5991 (diff) | |
download | wolfbones-e5e59f8ce8c95f01f011f945cfb844dfe79adaa5.tar.gz wolfbones-e5e59f8ce8c95f01f011f945cfb844dfe79adaa5.tar.bz2 |
small fixes around ENABLE_THREADS
Diffstat (limited to 'src')
-rw-r--r-- | src/GNUmakefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 448fc2e..6a0f32e 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -2,15 +2,18 @@ TOPDIR = .. SUBDIRS = +-include $(TOPDIR)/makefiles/gmake/platform.mk + INCLUDE_DIRS = -I$(TOPDIR)/include/wolf -I. BINS = -THREADING_OBJS = ifeq "$(ENABLE_THREADS)" "1" -THREADING_OBJS = $(THREADING_OBJS) \ +THREADING_OBJS = \ threads/mutex.o \ threads/threads.o +else +THREADING_OBJS = endif PORT_OBJS = \ @@ -77,7 +80,9 @@ local_clean: -@rm -f daemon/*.bak -@rm -f daemon/*~ -@rm -f daemon/*.d +ifeq "$(ENABLE_THREADS)" "1" -@rm -f threads/*.bak +endif -@rm -f threads/*~ -@rm -f threads/*.d -@rm -f library/*.bak |