~strahinja/lav-sdl

f70ed55d47924dc3cf47984fd779ffa91cc7260f — Страхиња Радић 1 year, 13 days ago db0bb3f
default.o.do: Add *.h dependencies

Signed-off-by: Страхиња Радић <contact@strahinja.org>
1 files changed, 3 insertions(+), 1 deletions(-)

M default.o.do
M default.o.do => default.o.do +3 -1
@@ 1,4 1,6 @@
sed -n 's/^#include "\([^"]*\)"/\1/p' ${2%.o}.c | \
	xargs redo-ifchange
redo-ifchange $2.c
. ./config.redo
INCLUDES=$(pkg-config --cflags sdl2)
$CC $INCLUDES -o $3 -c $2.c
${CC} ${INCLUDES} -c $2.c -o $3