aboutsummaryrefslogtreecommitdiff
path: root/default.o.do
diff options
context:
space:
mode:
Diffstat (limited to 'default.o.do')
-rw-r--r--default.o.do4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.o.do b/default.o.do
new file mode 100644
index 0000000..ae34754
--- /dev/null
+++ b/default.o.do
@@ -0,0 +1,4 @@
+redo-ifchange "$2.cpp"
+g++ -MD -MF "$2.d" -c -o "$3" "$2.cpp"
+read DEPS < "$2.d"
+redo-ifchange ${DEPS#*:}