1 |
astrand |
1063 |
|
2 |
|
|
# |
3 |
|
|
# MinGW makefile |
4 |
|
|
# |
5 |
|
|
|
6 |
ossman_ |
1069 |
CC=gcc |
7 |
ossman_ |
1071 |
CFLAGS=-Wall |
8 |
astrand |
1063 |
|
9 |
|
|
.SUFFIXES: |
10 |
|
|
|
11 |
ossman_ |
1084 |
default: seamlessrdpshell.exe HookDll/seamlessrdp.dll |
12 |
astrand |
1063 |
|
13 |
ossman_ |
1073 |
seamlessrdpshell.exe: main.c vchannel.o |
14 |
|
|
$(CC) $(CFLAGS) -mwindows -o $@ $^ -lwtsapi32 |
15 |
astrand |
1063 |
|
16 |
ossman_ |
1073 |
vchannel.o: vchannel.c vchannel.h |
17 |
|
|
$(CC) $(CFLAGS) -c -o $@ vchannel.c |
18 |
|
|
|
19 |
ossman_ |
1084 |
HookDll/seamlessrdp.dll: HookDll/hookdll.c vchannel.o |
20 |
ossman_ |
1071 |
$(CC) $(CFLAGS) -shared -o $@ $^ -lwtsapi32 |
21 |
astrand |
1063 |
|
22 |
|
|
clean: |
23 |
ossman_ |
1072 |
-rm -f *.o HookDll/*.o |
24 |
ossman_ |
1084 |
-rm -f seamlessrdpshell.exe HookDll/seamlessrdp.dll |