PERK ?= perk W32_SYSDIR ?= /dev/null PROJECT_DIR ?= . SOURCE_DIR ?= .
include $(PROJECT_DIR)/project/common.mk
fake/%.dll: touch $@
fake/%.drv: touch $@
config.project: $(W32FAKE)
$(SOURCE_DIR)/def/kernel32.def: APIS_WITH_CAPS = -c
$(SOURCE_DIR)/def/%.def: $(W32_SYSDIR)/%.dll $(PROJECT_DIR)/project/w32def/w32def.sh -p $(PERK) -l $< -o $@ $(APIS_WITH_CAPS)
$(SOURCE_DIR)/def/%.def: $(W32_SYSDIR)/%.drv $(PROJECT_DIR)/project/w32def/w32def.sh -p $(PERK) -l $< -o $@ $(APIS_WITH_CAPS)
w32def: config.project $(W32DEF)
w32def-clean: rm -f $(W32DEF) rm -f $(W32FAKE)
.PHONY: w32def .PHONY: w32def-clean