selftests: memfd: Stop unnecessary rebuilds

Instead of explicitly running the compiler, add dependencies and take
advantage of implicit rules to build only as necessary.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
Ben Hutchings 2015-11-02 12:21:57 +00:00 • committed by Shuah Khan
commit 55f4d731c5