diff options
author | yenatch <yenatch@gmail.com> | 2016-10-28 15:33:23 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2016-10-28 15:34:26 -0400 |
commit | 304f9589336b07d9385b7c0d6368902bc694f82b (patch) | |
tree | 3777679e5e1d6b210c73cb832f4464525ec52c3d | |
parent | ef55219ef23f6c7c2b2b43e87706844403783c07 (diff) |
Add `make NODEP=1` for fast builds.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 $@ $< |