mirror of https://github.com/tongzx/nt5src
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.
42 lines
859 B
42 lines
859 B
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
#
|
|
# If BUILDMSG is not defined, the define it as the empty string to make
|
|
# the conditionals easier to write.
|
|
#
|
|
|
|
!IFNDEF BUILDMSG
|
|
BUILDMSG=
|
|
!ENDIF
|
|
|
|
!IFNDEF NO_STRICT
|
|
STRICT=1
|
|
!ENDIF
|
|
|
|
TARGETSRCS0 =
|
|
|
|
TARGETSRCS1 = \
|
|
!if $(386) && defined(BUILD_INC_FILES)
|
|
main\ddkmmini.inc
|
|
!endif
|
|
|
|
TARGETSRCS = $(TARGETSRCS0) $(TARGETSRCS1)
|
|
|
|
all: $(TARGETSRCS)
|
|
!IF "$(BUILDMSG)" != ""
|
|
@ech ; $(BUILDMSG) ;
|
|
!ENDIF
|
|
|
|
clean: all
|
|
|
|
clean1: cleansrc all
|
|
|
|
cleansrc:
|
|
# Use for loop because command.com's erase doesn't support multiple
|
|
# file listings. Separate sources into smaller lists because command.com
|
|
# faults. Totally bogus.
|
|
-@for %x in ($(TARGETSRCS0)) do erase %x
|
|
-@for %x in ($(TARGETSRCS1)) do erase %x
|
|
|
|
main\ddkmmini.inc : main\ddkmmini.h
|
|
$(PATH_TOOLS16)\h2inc.exe -d -n -f main\ddkmmini.h -o main\ddkmmini.inc
|
|
|