Revision c0d1e8fe
Added by Hamish Coleman over 16 years ago
- ID c0d1e8fef8b32848f0156ca6561fa4c48abacdff
Makefile | ||
---|---|---|
|
||
|
||
wconsd.exe: wconsd.c
|
||
gcc -o wconsd.exe wconsd.c -lws2_32
|
||
gcc -Wall -o wconsd.exe wconsd.c -lws2_32
|
||
|
||
test: wconsd.exe
|
||
./wconsd.exe -d
|
||
|
||
wconsd: wconsd.c
|
||
winegcc -mno-cygwin -o wconsd wconsd.c -mwindows -lws2_32
|
||
winegcc -Wall -mno-cygwin -mwindows -o wconsd wconsd.c -lws2_32
|
||
|
||
wine: wconsd
|
||
/usr/lib/wine/wine.bin wconsd.exe.so -p 9600
|
Also available in: Unified diff
Clean up lots of compile warnings.
I have been getting lots of errors while testing under wine, so this
is the start of looking for problems. I have not cleaned up any
of the warnings in process_menu_line since that whole function is
an abortion and all the warnings are either send() signedness mismatch
or printf() format warnings.