From 304f9589336b07d9385b7c0d6368902bc694f82b Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 28 Oct 2016 15:33:23 -0400 Subject: Add `make NODEP=1` for fast builds. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 04d1f151c..0c38e6d41 100644 --- a/Makefile +++ b/Makefile @@ -271,7 +271,11 @@ $(C_OBJS): %.o : %.c @printf ".text\n\t.align\t2, 0\n" >> $*.s $(AS) $(ASFLAGS) -o $@ $*.s +ifeq ($(NODEP),) %.o: dep = $(shell $(SCANINC) $*.s) +else +%.o: dep := +endif $(ASM_OBJS): %.o: %.s $$(dep) $(AS) $(ASFLAGS) --defsym $(VERSION)=1 --defsym REVISION=$(REVISION) -o $@ $< -- cgit v1.2.3