Commit 0f429a07 authored by Ralph Giles's avatar Ralph Giles

Add a magic vpath to the unix makefile.

This satisfies the Makefile's dependency on itself when buiding
in a parallel directory, like I use for the mingw builds, without
having to 'touch Makefile' as a work-around.
parent b89a1798
......@@ -207,6 +207,8 @@ clean:
-rmdir ${WORKDIR}
# Make everything depend on changes in the Makefile
# This vpath directive needs to be before any include statements
vpath Makefile $(dir $(lastword $(MAKEFILE_LIST)))
${ALL_ASM} ${ALL_OBJS} ${ALL_DEPS} ${ALL_TARGETS} : Makefile
# Specify which targets are phony for GNU make
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment