X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=build%2Fdefault.o.do;fp=build%2Fdefault.o.do;h=d6a4b91b878acc5ee578b686019b5ec67cba4096;hb=5fd4be90f125e318a2fcaa0b92329511cb178f5a;hp=0000000000000000000000000000000000000000;hpb=3025c786c59a304babaae2b1b7e3eae01e43fe5e;p=plomrogue diff --git a/build/default.o.do b/build/default.o.do new file mode 100644 index 0000000..d6a4b91 --- /dev/null +++ b/build/default.o.do @@ -0,0 +1,6 @@ +redo-ifchange compiler_flags +. ./compiler_flags +file=${1#build/} +gcc $CFLAGS -o $3 -c ../src/${file%.o}.c -MD -MF $2.deps +read DEPS <$2.deps +redo-ifchange ${DEPS#*:}