8 |
|
|
9 |
.SUFFIXES: |
.SUFFIXES: |
10 |
|
|
11 |
default: seamlessrdpshell.exe HookDll/seamlessrdp.dll |
default: seamlessrdp.zip |
12 |
|
|
13 |
|
seamlessrdp.zip: seamlessrdpshell.exe seamlessrdp.dll vchannel.dll |
14 |
|
-rm $@ |
15 |
|
zip $@ $^ |
16 |
|
|
17 |
seamlessrdpshell.exe: main.c vchannel.dll |
seamlessrdpshell.exe: main.c vchannel.dll |
18 |
$(CC) $(CFLAGS) -mwindows -o $@ $^ -lwtsapi32 |
$(CC) $(CFLAGS) -mwindows -o $@ $^ -lwtsapi32 |
20 |
vchannel.dll: vchannel.c |
vchannel.dll: vchannel.c |
21 |
$(CC) $(CFLAGS) -shared -o $@ $^ -lwtsapi32 |
$(CC) $(CFLAGS) -shared -o $@ $^ -lwtsapi32 |
22 |
|
|
23 |
|
seamlessrdp.dll: HookDll/seamlessrdp.dll |
24 |
|
cp $^ $@ |
25 |
|
|
26 |
HookDll/seamlessrdp.dll: HookDll/hookdll.c vchannel.dll |
HookDll/seamlessrdp.dll: HookDll/hookdll.c vchannel.dll |
27 |
$(CC) $(CFLAGS) -shared -o $@ $^ |
$(CC) $(CFLAGS) -shared -o $@ $^ |
28 |
|
|
29 |
clean: |
clean: |
30 |
-rm -f *.o HookDll/*.o |
-rm -f *.o HookDll/*.o |
31 |
-rm -f seamlessrdpshell.exe vchannel.dll HookDll/seamlessrdp.dll |
-rm -f seamlessrdpshell.exe vchannel.dll HookDll/seamlessrdp.dll seamlessrdp.dll seamlessrdp.zip |