File: Makefile.nmake.mk

package info (click to toggle)
libzt 0.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 936 kB
  • sloc: ansic: 3,217; sh: 211; awk: 12; makefile: 10
file content (17 lines) | stat: -rw-r--r-- 383 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
!if [set CL=/nologo /Wall /wd4820 /wd4100 /wd4996 /wd4710 /wd5045]
!endif

all: libzt-test.exe zt.dll
clean:
	del /F zt.obj zt-test.obj libzt-test.exe zt.dll zt.lib zt.exp
check: libzt-test.exe
	libzt-test.exe

libzt-test.exe: zt-test.obj
	cl /Fe: $@ $?
zt.dll: zt.obj
	cl /LD /DEF libzt.def /Fe: $@ $?
zt.obj: zt.c zt.h
	cl /c zt.c
zt-test.obj: zt-test.c zt.c zt.h
	cl /c zt-test.c