mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
Remove deps stuff.
This commit is contained in:
parent
f15945afcf
commit
2f06f61f89
@ -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)
|
||||
|
||||
|
@ -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 $@)"
|
||||
|
Loading…
Reference in New Issue
Block a user