summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile9
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