diff options
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 . |