diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2015-05-25 17:55:41 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2015-05-25 17:55:41 +0200 |
commit | 66079abd1083a00f165b8fc62eec885f872b903c (patch) | |
tree | 59ea7cba7e00a5c8e793a8e870961b922a900ea8 /src/NMakefile | |
parent | 1c0c08414529cc10c45cd34a1a5188970c98a892 (diff) | |
download | biruda-66079abd1083a00f165b8fc62eec885f872b903c.tar.gz biruda-66079abd1083a00f165b8fc62eec885f872b903c.tar.bz2 |
various fixes on Windows
Diffstat (limited to 'src/NMakefile')
-rw-r--r-- | src/NMakefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/NMakefile b/src/NMakefile index 7379af8..e7fb64a 100644 --- a/src/NMakefile +++ b/src/NMakefile @@ -46,7 +46,7 @@ biruda.exe: biruda.obj biruda_cmdline.obj master.obj coordinator.obj worker.obj $(LINK) $(LINKFLAGS) $(LIBS) /out:$@ $** biruda_cmdline.obj: biruda_cmdline.c -biruda.obj: biruda.c biruda_cmdline.h master.h coordinator.h worker.h port.h system.h cli.h +biruda.obj: biruda.c biruda_cmdline.h master.h coordinator.h worker.h port.h system.h cli.h biruda_conf.c master.obj: master.c master.h port.h coordinator.obj: coordinator.c coordinator.h port.h system.h worker.obj: worker.c worker.h @@ -64,12 +64,21 @@ workertest.exe: workertest.obj workertest.obj: workertest.c +3rdParty\xxd\xxd.exe: 3rdParty\xxd\xxd.c + $(CC) /nologo /c /Fo3rdParty\xxd\xxd.obj 3rdParty\xxd\xxd.c + $(LINK) /out:3rdParty\xxd\xxd.exe 3rdParty\xxd\xxd.obj + +biruda_conf.c: biruda.conf 3rdParty\xxd\xxd.exe + 3rdParty\xxd\xxd.exe -i biruda.conf > biruda_conf.c + clean: @-erase *.obj 2>NUL @-erase *.dll 2>NUL @-erase gspawn-win32-helper-console.exe 2>NUL @-erase biruda.exe workertest.exe 2>NUL @-erase biruda_cmdline.h biruda_cmdline.c 2>NUL + @-erase 3rdParty\xxd\xxd.exe 3rdParty\xxd\xxd.obj 2>NUL + @-rm biruda_conf.c run: all @-copy $(CONFUSE_DIR)\bin\libConfuse.dll . |