summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-12-03 14:04:29 +0100
committerAndreas Baumann <abaumann@yahoo.com>2014-12-03 14:04:29 +0100
commitf1e189bcfdedd95ad9b0a69adbc318f4e2edf740 (patch)
tree79494329645d0497eddc848b27a60e2a9889db92
parent11448c08dfb7d10da52a38d469c0aa2888959494 (diff)
downloadbiruda-f1e189bcfdedd95ad9b0a69adbc318f4e2edf740.tar.gz
biruda-f1e189bcfdedd95ad9b0a69adbc318f4e2edf740.tar.bz2
building also workertest.exe on Windows
-rw-r--r--INSTALL3
-rw-r--r--src/NMakefile7
2 files changed, 8 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 567d050..02b1753 100644
--- a/INSTALL
+++ b/INSTALL
@@ -99,7 +99,8 @@ Building on Windows
* glib2
- # Get the GTK+ 3.x all in one package
+ # Get the GTK+ 3.x all in one package, building glib by hand is
+ not so easy on Windows
* biruda
diff --git a/src/NMakefile b/src/NMakefile
index 5da8fef..5a17134 100644
--- a/src/NMakefile
+++ b/src/NMakefile
@@ -40,7 +40,7 @@ LIBS = libConfuse.lib pthreadVC2d.lib nanomsg.lib json-c.lib Ws2_32.lib glib-2.0
.c.obj:
$(CC) $(CLFLAGS) /c /Fo$@ $<
-all: biruda.exe
+all: biruda.exe workertest.exe
biruda.exe: biruda.obj biruda_cmdline.obj master.obj coordinator.obj worker.obj system.obj
$(LINK) $(LINKFLAGS) $(LIBS) /out:$@ $**
@@ -58,6 +58,11 @@ biruda_cmdline.c: biruda.ggo
biruda_cmdline.h: biruda.ggo
$(GENGETOPT) -F biruda_cmdline --unamed-opts --conf-parser --include-getopt -i $**
+workertest.exe: workertest.obj
+ $(LINK) $(LINKFLAGS) $(LIBS) /out:$@ $**
+
+workertest.obh: workertest.c
+
clean:
@-erase *.obj 2>NUL
@-erase *.dll 2>NUL