43 lines
1 KiB
Plaintext
43 lines
1 KiB
Plaintext
!INCLUDE $(NTMAKEENV)\makefile.plt
|
|
|
|
MESG_TARGETS = inc\msg00001.bin \
|
|
inc\messages.rc \
|
|
inc\messages.h
|
|
|
|
TEMP_TARGETS = msg00001.bin \
|
|
messages.rc \
|
|
messages.h
|
|
|
|
PUBLISH_TARGETS = \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\data.h \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\offsets.h \
|
|
$(PRINTSCAN_INC_PATH)\winsrv\mtype.h \
|
|
|
|
|
|
all: $(MESG_TARGETS) $(PUBLISH_TARGETS)
|
|
|
|
clean: cleansrc all
|
|
|
|
cleansrc:
|
|
erase $(MESG_TARGETS)
|
|
|
|
$(MESG_TARGETS): inc\messages.mc
|
|
mc -v inc\messages.mc
|
|
copy messages.h inc
|
|
copy msg00001.bin inc
|
|
copy messages.rc inc
|
|
erase $(TEMP_TARGETS)
|
|
|
|
|
|
SPOOLER_ROOT=$(PROJECT_ROOT)\print\spooler
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\data.h: $(SPOOLER_ROOT)\inc\data.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\offsets.h: $(SPOOLER_ROOT)\inc\offsets.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|
|
$(PRINTSCAN_INC_PATH)\winsrv\mtype.h: $(SPOOLER_ROOT)\inc\mtype.h
|
|
$(PUBLISH_CMD) {$?=$@}
|
|
|