Parent Directory | Revision Log
Building a ZIP file with resulting binaries.
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 | astrand | 1178 | default: seamlessrdp.zip |
12 | astrand | 1063 | |
13 | astrand | 1178 | seamlessrdp.zip: seamlessrdpshell.exe seamlessrdp.dll vchannel.dll |
14 | -rm $@ | ||
15 | zip $@ $^ | ||
16 | |||
17 | ossman_ | 1163 | seamlessrdpshell.exe: main.c vchannel.dll |
18 | ossman_ | 1073 | $(CC) $(CFLAGS) -mwindows -o $@ $^ -lwtsapi32 |
19 | astrand | 1063 | |
20 | ossman_ | 1163 | vchannel.dll: vchannel.c |
21 | ossman_ | 1071 | $(CC) $(CFLAGS) -shared -o $@ $^ -lwtsapi32 |
22 | astrand | 1063 | |
23 | astrand | 1178 | seamlessrdp.dll: HookDll/seamlessrdp.dll |
24 | cp $^ $@ | ||
25 | |||
26 | ossman_ | 1163 | HookDll/seamlessrdp.dll: HookDll/hookdll.c vchannel.dll |
27 | $(CC) $(CFLAGS) -shared -o $@ $^ | ||
28 | |||
29 | astrand | 1063 | clean: |
30 | ossman_ | 1072 | -rm -f *.o HookDll/*.o |
31 | astrand | 1178 | -rm -f seamlessrdpshell.exe vchannel.dll HookDll/seamlessrdp.dll seamlessrdp.dll seamlessrdp.zip |
ViewVC Help | |
Powered by ViewVC 1.1.26 |