Closed bgilbert closed 8 years ago
Don't generate nip2-icon.rc at build time, and only build nip2-icon.o on Windows. Fixes warning when building on MacPorts:
nip2-icon.rc
nip2-icon.o
dummy.c:1:14: warning: control reaches end of non-void function [-Wreturn-type]
Fixes make dist failure if run before make:
make dist
make
make[2]: *** No rule to make target '../src/dummy.c', needed by 'nip2.pot'. Stop.
Tested on a Linux build, but not on a Windows build.
Looks very reasonable, thank you Benjamin.
I've no idea why it was set up like that before :( I suppose it seemed necessary at the time.
Don't generate
nip2-icon.rc
at build time, and only buildnip2-icon.o
on Windows. Fixes warning when building on MacPorts:Fixes
make dist
failure if run beforemake
:Tested on a Linux build, but not on a Windows build.