Hello
Currently my project have the similar file structure as follow:

dissector_folder
|----folder
      |----packet-folder-xxx.c
|----packet-xxx.c
|----Makefile.nmake
|----Makefile.common
|--- other files

CMake and automake works fine with this file structure. However, when built
on Windows with nmake tool, the object file "packet-folder-xxx.obj" was
generated and placed at the top level folder:

dissector_folder
|----folder
      |----packet-folder-xxx.c
|----packet-xxx.c
|----Makefile.nmake
|----Makefile.common
|----packet-folder-xxx.obj
|----packet-xxx.obj

While the linker is still looking for "folder/packet-folder-xxx.obj". In
this case, it will generate an error.

I am not familiar with nmake command. There aren't much useful information
online. How can I modifiy Makefile.nmake to make it either look for
"packet-folder-xxx.obj" without "folder" or place the generated object file
next to .c source?

Regards

Regards

Ran
*_____________________________*
*Ran Bao*
*College of Engineering*
*University of Canterbury*
rb...@uclive.ac.nz
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to