mirror of https://github.com/odrling/Aegisub
Use target name without directory in $*_OBJ macro
Fix Aegisub/Aegisub#171
This commit is contained in:
parent
cd7ee8d505
commit
6bd3f4c26b
|
@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $<
|
||||||
# Libraries contain all object files they depend on (but they may depend on other files)
|
# Libraries contain all object files they depend on (but they may depend on other files)
|
||||||
# Not using libtool on OS X because it has an unsilenceable warning about a
|
# Not using libtool on OS X because it has an unsilenceable warning about a
|
||||||
# compatibility issue with BSD 4.3 (wtf)
|
# compatibility issue with BSD 4.3 (wtf)
|
||||||
lib%.a: $$($$*_OBJ)
|
lib%.a: $$($$(*F)_OBJ)
|
||||||
@$(BIN_MKDIR_P) $(dir $@)
|
@$(BIN_MKDIR_P) $(dir $@)
|
||||||
$(BIN_AR) cru $@ $(filter %.o,$^)
|
$(BIN_AR) cru $@ $(filter %.o,$^)
|
||||||
$(BIN_RANLIB) $@
|
$(BIN_RANLIB) $@
|
||||||
|
|
Loading…
Reference in New Issue