-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathToastLib.ppj
69 lines (63 loc) · 3.09 KB
/
ToastLib.ppj
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
66
67
68
69
#
# PROJECT FILE generated by "Pelles C for Windows, version 12.00".
# WARNING! DO NOT EDIT THIS FILE.
#
POC_PROJECT_VERSION = 9.00#
POC_PROJECT_TYPE = 12#
POC_PROJECT_MODE = Release#
POC_PROJECT_RESULTDIR = bin\x64#
POC_PROJECT_OUTPUTDIR = output\x64#
!if "$(POC_PROJECT_MODE)" == "Release"
CCFLAGS = -Tx64-coff -Ot -W1 -std:C17 -Ze#
ASFLAGS = -AAMD64#
ARFLAGS = #
CC = pocc.exe#
AS = poasm.exe#
AR = polib.exe#
INCLUDE = $(PellesCDir)\Include\Win;$(PellesCDir)\Include#
LIB = $(PellesCDir)\Lib\Win64;$(PellesCDir)\Lib#
POC_PROJECT_EXECUTOR = #
POC_PROJECT_ARGUMENTS = #
POC_PROJECT_WORKPATH = .#
POC_PROJECT_ZIPEXTRA = #
!elseif "$(POC_PROJECT_MODE)" == "Debug"
CCFLAGS = -Tx64-coff -Ot -W1 -std:C17 -Ze -Zi#
ASFLAGS = -AAMD64 -Zi#
ARFLAGS = #
CC = pocc.exe#
AS = poasm.exe#
AR = polib.exe#
INCLUDE = $(PellesCDir)\Include\Win;$(PellesCDir)\Include#
LIB = $(PellesCDir)\Lib\Win64;$(PellesCDir)\Lib#
POC_PROJECT_EXECUTOR = #
POC_PROJECT_ARGUMENTS = #
POC_PROJECT_WORKPATH = .#
POC_PROJECT_ZIPEXTRA = #
!else
!error "Unknown mode."
!endif
#
# Build ToastLib.lib.
#
bin\x64\ToastLib.lib: \
output\x64\C_wrapper.obj \
output\x64\callback.obj
$(AR) $(ARFLAGS) -out:"$@" $**
#
# Build C_wrapper.obj.
#
output\x64\C_wrapper.obj: \
libsrc\C_wrapper.c \
include\ToastLib.h \
libsrc\ToasterDecl.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build callback.obj.
#
output\x64\callback.obj: \
libsrc\callback.c \
include\ToastLib.h \
libsrc\ToasterDecl.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
.SILENT:
.EXCLUDEDFILES: