spiegel-keyman/windows/src/Header.mak
Marc Durdin 845d65e5e4 chore(windows): remove backup build step
We no longer need to backup debug files as they are saved to the symbol
store during a release build. This reduces the amount of storage
required for a release build and should speed up the build also.

Also fixes the broken build where backup had not been updated for the
new consistent build paths.
2021-07-07 08:09:26 +10:00

61 lines
No EOL
1.1 KiB
Makefile

#
# Header.mak - used for makefiles which are in parent folders
#
HEADER_MAK=1
!IFNDEF TARGETS
!ERROR You must define the targets before including the Header.mak file!
!ENDIF
!IFDEF KEYMAN_ROOT
ROOT=$(KEYMAN_ROOT)\windows
!ELSE
ROOT=c:\keyman\windows
!ENDIF
# This path will need to be updated if the root path changes
!include $(ROOT)\src\Defines.mak
#
# The targets build, signcode, symbols are standard
# targets for all projects
#
build: $(BUILDPREREQ)
$(MAKE) -DTARGET=build $(TARGETS)
!IFNDEF NOTARGET_SIGNCODE
signcode:
$(MAKE) -DTARGET=signcode $(TARGETS)
symbols:
$(MAKE) -DTARGET=symbols $(TARGETS)
!ELSE
signcode:
rem no signcode required
symbols:
rem no symbols required
!ENDIF
build-release:
!IFDEF RELEASE_TARGETS
$(MAKE) -DTARGET=build-release $(RELEASE_TARGETS)
!ELSE
@rem
!ENDIF
clean:
$(MAKE) -DTARGET=clean $(TARGETS) $(CLEANS)
install:
$(MAKE) -DTARGET=install $(TARGETS)
test-manifest:
!IFDEF MANIFESTS
$(MAKE) -DTARGET=test-manifest $(MANIFESTS)
!ELSE
$(MAKE) -DTARGET=test-manifest $(TARGETS)
!ENDIF