Skip to content

Commit

Permalink
build: Rename OBJDIRS variable to OUTDIRS
Browse files Browse the repository at this point in the history
These directories are not just for object files.
  • Loading branch information
DonDiego committed Feb 16, 2019
1 parent 90b15f6 commit 7e5bde9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ check: all alltools checkheaders examples testprogs fate

include $(SRC_PATH)/tests/Makefile

$(sort $(OBJDIRS)):
$(sort $(OUTDIRS)):
$(Q)mkdir -p $@

# Dummy rule to stop make trying to rebuild removed or renamed headers
Expand Down
2 changes: 1 addition & 1 deletion avbuild/common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $(HOSTOBJS): | $(sort $(dir $(HOSTOBJS)))
$(TESTOBJS): | $(sort $(dir $(TESTOBJS)))
$(TOOLOBJS): | tools

OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(TESTOBJS))
OUTDIRS := $(OUTDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(TESTOBJS))

CLEANSUFFIXES = *.d *.gcda *.gcno *.h.c *.map *.o *.pc *.ver *.version *~
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a
Expand Down
2 changes: 1 addition & 1 deletion avtools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(foreach P,$(AVPROGS-yes),$(eval $(call DOAVTOOL,$(P))))
all: $(AVPROGS)

avtools/cmdutils.o: avversion.h | avtools
OBJDIRS += avtools
OUTDIRS += avtools

ifdef AVPROGS
install: install-progs install-data
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $(EXAMPLES): %$(EXESUF): %.o
examples: $(EXAMPLES)

$(EXAMPLES:%$(EXESUF)=%.o): | doc/examples
OBJDIRS += doc/examples
OUTDIRS += doc/examples

DOXY_INPUT += $(addprefix $(SRC_PATH)/, $(EXAMPLES:%$(EXESUF)=%.c))

Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ THREADS = 1
VREF = tests/vsynth1/00.pgm
AREF = tests/data/asynth1.sw

OBJDIRS += tests/data tests/vsynth1 tests/data/filtergraphs
OUTDIRS += tests/data tests/vsynth1 tests/data/filtergraphs

$(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(M)./$< 'tests/vsynth1/'
Expand Down
2 changes: 1 addition & 1 deletion tests/checkasm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))

CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
$(CHECKASMOBJS): | $(CHECKASMDIRS)
OBJDIRS += $(CHECKASMDIRS)
OUTDIRS += $(CHECKASMDIRS)

CHECKASM := tests/checkasm/checkasm$(EXESUF)

Expand Down
2 changes: 1 addition & 1 deletion tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TOOLS-$(CONFIG_ZLIB) += cws2fws

tools/cws2fws$(EXESUF): ELIBS = $(ZLIB)

OBJDIRS += tools
OUTDIRS += tools

clean::
$(RM) $(CLEANSUFFIXES:%=tools/%)
Expand Down

0 comments on commit 7e5bde9

Please sign in to comment.