Remove deps stuff.

This commit is contained in:
James Benton 2015-12-26 18:58:07 -08:00
parent f15945afcf
commit 2f06f61f89
2 changed files with 9 additions and 9 deletions

View File

@ -57,11 +57,11 @@ $(OUTPUT).a: rpl.o $(OFILES)
lib.o: lib.c
@echo "[CC] $(notdir $<)"
@$(CC) $(DEPSOPTIONS) $(RPLCFLAGS) -S $(INCLUDES) $< -o lib.S
@$(CC) $(DEPSOPTIONS) $(RPLCFLAGS) -c lib.S -o $@
@$(CC) $(EXTRA_OPTIONS) $(RPLCFLAGS) -S $(INCLUDES) $< -o lib.S
@$(CC) $(EXTRA_OPTIONS) $(RPLCFLAGS) -c lib.S -o $@
rpl.o: $(ODEPS)
@$(LD) $(LDFLAGS) -r $(ODEPS) -o $@
@$(LD) $(EXTRA_OPTIONS) $(LDFLAGS) -r $(ODEPS) -o $@
-include $(DEPENDS)

View File

@ -21,27 +21,27 @@ ifeq ($(findstring $(PREFIX),$(LD)),)
LD := $(CC)
endif
DEPSOPTIONS = -MMD -MP -MF $(DEPSDIR)/$*.d
EXTRA_OPTIONS =
ifdef VERBOSE
DEPSOPTIONS += -v
EXTRA_OPTIONS += -v
endif
%.o: %.c
@echo "[CC] $(notdir $<)"
@$(CC) $(DEPSOPTIONS) $(CFLAGS) $(INCLUDES) -c $< -o $@
@$(CC) $(EXTRA_OPTIONS) $(CFLAGS) $(INCLUDES) -c $< -o $@
%.o: %.cpp
@echo "[CXX] $(notdir $<)"
@$(CXX) $(DEPSOPTIONS) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
@$(CXX) $(EXTRA_OPTIONS) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
%.o: %.s
@echo "[CC] $(notdir $<)"
@$(AS) $(DEPSOPTIONS) -x assembler-with-cpp $(ASFLAGS) $(INCLUDES) -c $< -o $@
@$(AS) $(EXTRA_OPTIONS) -x assembler-with-cpp $(ASFLAGS) $(INCLUDES) -c $< -o $@
%.o: %.S
@echo "[CC] $(notdir $<)"
@$(AS) $(DEPSOPTIONS) -x assembler-with-cpp $(ASFLAGS) $(INCLUDES) -c $< -o $@
@$(AS) $(EXTRA_OPTIONS) -x assembler-with-cpp $(ASFLAGS) $(INCLUDES) -c $< -o $@
%.a:
@echo "[AR] $(notdir $@)"