-
Notifications
You must be signed in to change notification settings - Fork 0
/
MAKEFILE
36 lines (29 loc) · 1001 Bytes
/
MAKEFILE
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
#
# makefile for CryptVolumeMount, Borland MAKE
#
# -5 Pentium Instructions
# -C Allow nested comments
# -Ox Optimizations
# -d Merge duplicate strings
# -Wx Create Windows app
# -RT Generate RTTI
CFLAGS = -5 -C -O1 -d -WU -RT-
RM = del
all: CryptVolumeMount.exe CryptVolumeUnmount.exe
CryptVolumeMount.exe: CryptVolumeMount.cpp CryptVolumeMain.cpp CryptVolumeMount.rc CryptVolumeMount.ico
$(CC) $(CFLAGS) -W $*.cpp noeh32.lib
brc32 $*.rc
upx -q -q --lzma --compress-icons=0 $*.exe
CryptVolumeUnmount.exe: CryptVolumeUnmount.cpp CryptVolumeMain.cpp CryptVolumeUnmount.rc CryptVolumeUnmount.ico
$(CC) $(CFLAGS) -W $*.cpp noeh32.lib
brc32 $*.rc
upx -q -q --lzma --compress-icons=0 $*.exe
clean:
$(RM) CryptVolumeMount.obj
$(RM) CryptVolumeMount.tds
$(RM) CryptVolumeMount.res
$(RM) CryptVolumeMount.exe
$(RM) CryptVolumeUnmount.obj
$(RM) CryptVolumeUnmount.tds
$(RM) CryptVolumeUnmount.res
$(RM) CryptVolumeUnmount.exe