mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
687 B
31 lines
687 B
|
|
TARGETOS=WINNT
|
|
SEHMAP=TRUE
|
|
!include <win32.mak>
|
|
|
|
!IF "$(TARGETLANG)" == "LANG_JAPANESE"
|
|
all: WARN_MSG
|
|
!ELSE
|
|
all: mpheap.dll tmpheap.exe
|
|
!ENDIF
|
|
|
|
|
|
WARN_MSG:
|
|
@echo "Warning: MPHEAP sample works only on Windows NT 4.0"
|
|
|
|
|
|
|
|
# Inference rule for updating the object files
|
|
tmpheap.obj: tmpheap.c
|
|
$(cc) $(cdebug) $(cflags) $(cvars) $*.c
|
|
|
|
mpheap.obj: mpheap.c
|
|
$(cc) $(cdebug) $(cflags) $(cvarsdll) $*.c
|
|
|
|
# Build rule for EXE
|
|
tmpheap.exe: tmpheap.obj mpheap.lib
|
|
$(link) $(linkdebug) $(conlflags) $(conlibs) $** -out:tmpheap.exe
|
|
|
|
# linker will build the import library as well
|
|
mpheap.dll: mpheap.obj
|
|
$(link) $(linkdebug) $(dlllflags) $(conlibsdll) $** -out:mpheap.dll -def:mpheap.def
|