File: Makefile.nmake

package info (click to toggle)
argtable2 13-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,312 kB
  • sloc: sh: 9,928; ansic: 4,565; makefile: 101
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