summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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