forked from foone/3DMMForever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MAKEFILE
80 lines (62 loc) · 2.2 KB
/
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
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
70
71
72
73
74
75
76
77
78
79
80
#--- $(SOC_ROOT)\makefile.mak
!INCLUDE $(KAUAI_ROOT)\makefile.def
.SILENT:
# Removed ALL_BREN from here as we're already providing Brender via bren.lib
# Do we actually need to do this? -Frank
ALL: ALL_SRC ALL_TOOLS
# ALL_BREN:
# cd $(SOC_ROOT)\bren
# @echo Making Bren All...
# $(MAKE) /NOLOGO all
# cd $(SOC_ROOT)
ALL_SRC:
cd $(SOC_ROOT)\src
@echo Making Soc\src All...
$(MAKE) /NOLOGO all
cd $(SOC_ROOT)
ALL_TOOLS:
cd $(SOC_ROOT)\tools
@echo Making Soc\tools All...
$(MAKE) /NOLOGO all
cd $(SOC_ROOT)
SOC_OBJ_ROOT_DIR = $(SOC_ROOT)\obj
SOC_OBJ_DIR = $(SOC_OBJ_ROOT_DIR)\$(BLD_TYPE_DIR)
DIST: ALL_SRC
-mkdir $(SOC_ROOT)\DIST 2>nul
-mkdir $(SOC_ROOT)\DIST\"Microsoft Kids"
-mkdir $(SOC_ROOT)\DIST\"Microsoft Kids"\"3D Movie Maker"
-mkdir $(SOC_ROOT)\DIST\"Microsoft Kids"\Users"
-mkdir $(SOC_ROOT)\DIST\"Microsoft Kids"\Users\Melanie"
copy /Y $(SOC_ROOT)\cd9\*.* $(SOC_ROOT)\DIST\"Microsoft Kids"\"3D Movie Maker"
copy /Y $(SOC_OBJ_DIR)\*.chk $(SOC_ROOT)\DIST\"Microsoft Kids"\"3D Movie Maker"
copy /Y $(SOC_OBJ_DIR)\3dmovie.exe $(SOC_ROOT)\DIST\
CLEAN: CLEAN_REST CLEAN_BREN BUILD_REST
CLEAN_BREN:
cd $(SOC_ROOT)\bren
@echo Making Bren Clean...
$(MAKE) /NOLOGO clean
cd $(SOC_ROOT)
CLEAN_REST:
@echo Cleaning $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\ directory
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.obj 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.pch 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.pdb 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.exe 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.res 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.chk 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.cht 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.cod 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.map 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.thd 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.lib 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.i 2>nul
rm -f $(SOC_ROOT)\obj\$(BLD_TYPE_DIR)\*.lnk 2>nul
BUILD_REST:
cd $(SOC_ROOT)\src
@echo Making Src Clean...
$(MAKE) /NOLOGO
cd $(SOC_ROOT)\tools
@echo Making Tools Clean...
$(MAKE) /NOLOGO
cd $(SOC_ROOT)