Revision e592f8f7
Added by Hamish Coleman over 16 years ago
- ID e592f8f78ff128ab95f8616ac642e6955dc65de5
Makefile | ||
---|---|---|
put:
|
||
pscp ./*.exe ./*.c 192.168.1.1:s/src/wconsd/
|
||
|
||
CFLAGS:=-Wall
|
||
CC:=gcc
|
||
|
||
wconsd.exe: wconsd.c
|
||
gcc -Wall -o wconsd.exe wconsd.c -lws2_32
|
||
wconsd.exe: wconsd.o win-scm.o
|
||
$(CC) -o $@ $^ -lws2_32
|
||
|
||
portenum.exe: portenum.c
|
||
gcc -Wall -o portenum.exe portenum.c -lwinspool -lsetupapi
|
||
$(CC) -o $@ portenum.c -lwinspool -lsetupapi
|
||
|
||
test: wconsd.exe
|
||
./wconsd.exe -d
|
||
|
||
wconsd: wconsd.c
|
||
winegcc -Wall -mno-cygwin -mwindows -o wconsd wconsd.c -lws2_32
|
||
winegcc -Wall -mno-cygwin -mwindows -o $@ wconsd.c -lws2_32
|
||
|
||
wine: wconsd
|
||
/usr/lib/wine/wine.bin wconsd.exe.so -p 9600
|
Also available in: Unified diff
Move the Service Control functions to a separate file - first pass