CC?=gcc DTC?=dtc CPPFLAGS=-E -C -P -nostdinc -undef -x assembler-with-cpp all: lagarto_ox.dtb clean: rm -f *.pp.dts *.dtb %.pp.dts: %.dts *.h $(CC) $(CPPFLAGS) $< -o $@ %.dtb: %.pp.dts dtc -O dtb -o $@ $^ .PRECIOUS: %.pp.dts