-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 720 Bytes
/
Makefile
File metadata and controls
37 lines (30 loc) · 720 Bytes
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
# Convenience nmake entry point for the VC6 DSP projects.
#
# Examples:
# nmake /f Makefile
# nmake /f Makefile CFG=Release
# nmake /f Makefile CFG=Debug
# nmake /f Makefile clean
!IF "$(VC6_ROOT)" != ""
NMAKE="$(VC6_ROOT)\Bin\nmake.exe"
!ELSE
NMAKE=nmake.exe
!ENDIF
!IF "$(CFG)" == ""
CFG=Debug
!ENDIF
!IF "$(CFG)" != "Debug" && "$(CFG)" != "Release"
!ERROR Invalid CFG "$(CFG)". Use "Debug" or "Release".
!ENDIF
!IF "$(TARGET)" == ""
TARGET=Player
!ENDIF
!IF "$(TARGET)" == "Player"
build : player
!ELSE
!ERROR Invalid TARGET "$(TARGET)". Use "Player".
!ENDIF
player :
$(NMAKE) /nologo /f Player.mak CFG="Player - Win32 $(CFG)"
clean :
$(NMAKE) /nologo /f Player.mak CFG="Player - Win32 $(CFG)" CLEAN