Skip to content

Commit dbf64e1

Browse files
committed
Merge branch 'jn/make-assembly-in-right-directory' into maint
* jn/make-assembly-in-right-directory: Makefile: fix location of listing produced by "make subdir/foo.s"
2 parents c2e585f + 1015cc4 commit dbf64e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ $(ASM_OBJ): %.o: %.S GIT-CFLAGS $(missing_dep_dirs)
22092209
endif
22102210

22112211
%.s: %.c GIT-CFLAGS FORCE
2212-
$(QUIET_CC)$(CC) -S $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) $<
2212+
$(QUIET_CC)$(CC) -o $@ -S $(ALL_CFLAGS) $(EXTRA_CPPFLAGS) $<
22132213

22142214
ifdef USE_COMPUTED_HEADER_DEPENDENCIES
22152215
# Take advantage of gcc's on-the-fly dependency generation

0 commit comments

Comments
 (0)