root/Makefile @ 6f662bc7
4a634bca | Hamish Coleman | ||
121e6b56 | Hamish Coleman | all: wconsd.exe portenum.exe
|
|
4a634bca | Hamish Coleman | ||
get:
|
|||
1b031c2b | Hamish Coleman | pscp 192.168.1.1:s/src/wconsd/*.c ./
|
|
4a634bca | Hamish Coleman | ||
put:
|
|||
4450bbca | Hamish Coleman | pscp ./*.exe ./*.c 192.168.1.1:s/src/wconsd/
|
|
4a634bca | Hamish Coleman | ||
e592f8f7 | Hamish Coleman | CFLAGS:=-Wall
|
|
CC:=gcc
|
|||
4a634bca | Hamish Coleman | ||
6f662bc7 | Hamish Coleman | wconsd.c: debug.h scm.h
|
|
win-scm.c: scm.h
|
|||
e592f8f7 | Hamish Coleman | wconsd.exe: wconsd.o win-scm.o
|
|
$(CC) -o $@ $^ -lws2_32
|
|||
a584276e | Hamish Coleman | ||
121e6b56 | Hamish Coleman | portenum.exe: portenum.c
|
|
6f662bc7 | Hamish Coleman | $(CC) $(CFLAGS) -o $@ portenum.c -lwinspool -lsetupapi
|
|
121e6b56 | Hamish Coleman | ||
695889f3 | Hamish Coleman | test: wconsd.exe
|
|
./wconsd.exe -d
|
|||
780d7607 | Hamish Coleman | wconsd: wconsd.c
|
|
e592f8f7 | Hamish Coleman | winegcc -Wall -mno-cygwin -mwindows -o $@ wconsd.c -lws2_32
|
|
780d7607 | Hamish Coleman | ||
wine: wconsd
|
|||
/usr/lib/wine/wine.bin wconsd.exe.so -p 9600
|