Revision dafae8e7
Added by Hamish Coleman almost 16 years ago
- ID dafae8e7cd63585f96cb92fbcfcdf7bc5d0776f9
Makefile | ||
---|---|---|
pscp ./*.exe ./*.c 192.168.1.1:s/src/wconsd/
|
||
|
||
CFLAGS:=-Wall
|
||
CC:=gcc
|
||
#CC:=gcc
|
||
CC:=i586-mingw32msvc-gcc
|
||
|
||
LIBCLI:=libcli/libcli.o
|
||
|
||
wconsd.c: debug.h scm.h
|
||
win-scm.c: scm.h
|
||
|
||
wconsd.exe: wconsd.o win-scm.o $(LIBCLI)
|
||
modules.c: module.h
|
||
|
||
MODULES:=modules.o win-scm.o
|
||
|
||
wconsd.exe: wconsd.o $(MODULES) $(LIBCLI)
|
||
$(CC) -o $@ $^ -lws2_32
|
||
|
||
portenum.exe: portenum.c
|
||
... | ... | |
wine: wconsd
|
||
/usr/lib/wine/wine.bin wconsd.exe.so -p 9600
|
||
|
||
clean:
|
||
rm -f *.o wconsd.exe portenum.exe
|
Also available in: Unified diff
Add the beginnings of a module management system