|
|
|
all: wconsd.exe portenum.exe
|
|
|
|
get:
|
|
pscp 192.168.1.1:s/src/wconsd/*.c ./
|
|
|
|
put:
|
|
pscp ./*.exe ./*.c 192.168.1.1:s/src/wconsd/
|
|
|
|
CFLAGS:=-Wall
|
|
CC:=gcc
|
|
|
|
wconsd.exe: wconsd.o win-scm.o
|
|
$(CC) -o $@ $^ -lws2_32
|
|
|
|
portenum.exe: portenum.c
|
|
$(CC) -o $@ portenum.c -lwinspool -lsetupapi
|
|
|
|
test: wconsd.exe
|
|
./wconsd.exe -d
|
|
|
|
wconsd: wconsd.c
|
|
winegcc -Wall -mno-cygwin -mwindows -o $@ wconsd.c -lws2_32
|
|
|
|
wine: wconsd
|
|
/usr/lib/wine/wine.bin wconsd.exe.so -p 9600
|
|
|