forked from redxu/sihook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.gen
65 lines (43 loc) · 2.06 KB
/
Makefile.gen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# A simple makefile generator by KiSoft, 2010. mailto: [email protected]
# version: 0.3.12.5
# Project Variables start
CPP=mingw32-g++.exe
CC=mingw32-gcc.exe
LD=mingw32-g++.exe
LIB=ar.exe
WINDRES=windres.exe
# Project Variables end
# Target: Release
OBJS_RELEASE=obj\Release\siframe.o obj\Release\sihook.o obj\Release\sisw.o obj\Release\tabctl.o obj\Release\utils.o obj\Release\mdiclient.o
Release: bin/Release/sihook.dll
bin/Release/sihook.dll: $(OBJS_RELEASE)
@echo Building dynamic library bin\Release\sihook.dll
@mingw32-g++.exe -shared -Wl,--output-def=bin\Release\libsihook.dll.def -Wl,--out-implib=bin\Release\libsihook.dll.a -Wl,--dll $(OBJS_RELEASE) -o bin\Release\sihook.dll -s -luser32 -lgdi32 -lcomctl32
obj\Release\siframe.o: D:/Projects/sihook/siframe.c
@echo Compiling: siframe.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c siframe.c -o obj\Release\siframe.o
obj\Release\sihook.o: D:/Projects/sihook/sihook.c
@echo Compiling: sihook.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c sihook.c -o obj\Release\sihook.o
obj\Release\sisw.o: D:/Projects/sihook/sisw.c
@echo Compiling: sisw.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c sisw.c -o obj\Release\sisw.o
obj\Release\tabctl.o: D:/Projects/sihook/tabctl.c
@echo Compiling: tabctl.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c tabctl.c -o obj\Release\tabctl.o
obj\Release\utils.o: D:/Projects/sihook/utils.c
@echo Compiling: utils.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c utils.c -o obj\Release\utils.o
obj\Release\mdiclient.o: D:/Projects/sihook/mdiclient.c
@echo Compiling: mdiclient.c
@mingw32-gcc.exe -O2 -Wall -DBUILD_DLL -c mdiclient.c -o obj\Release\mdiclient.o
siframe.c: siframe.h tabctl.h const.h
sihook.c: siframe.h mdiclient.h
mdiclient.c: mdiclient.h sisw.h tabctl.h const.h
tabctl.c: const.h utils.h tabctl.h
sisw.c: tabctl.h const.h utils.h sisw.h
utils.c: utils.h
.PHONY: clean_Release
clean_Release:
@echo Delete $(OBJS_RELEASE) bin\Release\sihook.dll
-@del /f $(OBJS_RELEASE) bin\Release\sihook.dll