-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPPEXAMP.MIF
More file actions
60 lines (48 loc) · 1.36 KB
/
CPPEXAMP.MIF
File metadata and controls
60 lines (48 loc) · 1.36 KB
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
# cppexamp.mif
#
# This file is always included by makefiles's in sample sub-directories.
#
# Note: the file includes local.mif from this directory; local.mif is empty
# as shipped. It can be used for any customization required in a
# particular installation.
#
!include ../local.mif
.extensions:
.extensions: .exe .lnk .obj .cpp .c
!ifndef cpp_compiler
! ifdef __NTAXP__
! define cpp_compiler wppaxp
! define c_compiler wccaxp
! else
! define cpp_compiler wpp386
! define c_compiler wcc386
! endif
!endif
!ifndef linker
! define linker wlink
!endif
!ifndef link_cmds
! define link_cmds linkpgm.lnk
!endif
!ifndef cpp_options
! define cpp_options -zq -xs -d1
! define c_options -zq -d1
!endif
.cpp.obj: .AUTODEPEND
$(cpp_compiler) $(cpp_options) $[*
.c.obj: .AUTODEPEND
$(c_compiler) $(c_options) $[*
doom4.exe: $(objects) $(link_cmds)
$(linker) @$(link_cmds)
linkpgm.lnk: $(__MAKEFILES__) ../local.mif
@%create $^@
@%append $^@ NAME doom4
@%append $^@ OPTION quiet, eliminate, map, show
@%append $^@ DEBUG all
@for %i in ($(objects)) do @%append $^@ FILE %i
clean: .SYMBOLIC
@if exist *.exe del *.exe
@if exist *.lnk del *.lnk
@if exist *.obj del *.obj
@if exist *.map del *.map
@if exist *.err del *.err