File: Makefile.nmake

package info (click to toggle)
argtable2 6-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,520 kB
  • ctags: 380
  • sloc: sh: 8,918; ansic: 4,305; makefile: 144
file content (21 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#This Makefile is for building the argtable2 examples with Microsoft Visual C.
#To build a release version execute
#   NMAKE /f Makefile.nmake
#or for a debug version execute 
#   NMAKE /f Makefile.nmake DEBUG=1

CFLAGS = /D "WIN32" /D "_MBCS" /nologo /I "..\src" ..\src\argtable2.lib

!IF "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /MLd /RTC1 /ZI
!ELSE
CFLAGS = $(CFLAGS) /D "NDEBUG" /O2 /ML /GS /Zi
!ENDIF

all: argcustom.exe echo.exe ls.exe mv.exe myprog.exe rm.exe uname.exe

argcustom.exe: argcustom.obj argxxx.obj
  cl $(CFLAGS) argcustom.obj argxxx.obj

clean:
	del *.exe *.obj *.ilk *.idb *.pdb