Skip to content

Commit

Permalink
Makefiles: don't include *.tmp
Browse files Browse the repository at this point in the history
Since checkin:

bd09a6d Major Makefile cleanups; gcc 4.3.0 compatiblity

... we include *.tmp into the Makefiles as well as .*.d.  This seems
to have been a mistake in made when adding *.tmp to cleanup rules,
probably using a sed script.

This causes problems, because *.tmp files are generated by the gcc_ok
macro and do not contain Makefile rules at all.

Signed-off-by: H. Peter Anvin <[email protected]>
  • Loading branch information
H. Peter Anvin committed Jan 19, 2014
1 parent 80c0c5f commit 374a374
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ syslinux.com: syslinux.elf

ldlinux.o: ldlinux.S ../core/ldlinux.sys

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion extlinux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ strip:
%.s: %.c
$(CC) $(UMAKEDEPS) $(CFLAGS) -S -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ strip:
%.s: %.c
$(CC) $(UMAKEDEPS) $(CFLAGS) -S -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion memdump/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ memdump.com: memdump.elf
%.s: %.S
$(CC) $(MAKEDEPS) $(SFLAGS) -E -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion mtools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ strip:
%.s: %.c
$(CC) $(UMAKEDEPS) $(CFLAGS) -S -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion win32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ syslinux.exe: $(OBJS) $(LIB)
%.s: %.c
$(WINCC) $(UMAKEDEPS) $(WINCFLAGS) -S -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion win32/ntfstest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ ntfstest.exe: $(OBJS) $(RESS)
%.res: %.rc
$(WINDRES) -O COFF $< $@

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion win64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ syslinux64.exe: $(OBJS) $(LIB)
%.s: %.c
$(WINCC) $(UMAKEDEPS) $(WINCFLAGS) -S -o $@ $<

-include .*.d *.tmp
-include .*.d
2 changes: 1 addition & 1 deletion win64/ntfstest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ ntfstest64.exe: $(OBJS) $(RESS)
%.res: %.rc
$(WINDRES) -O COFF $< $@

-include .*.d *.tmp
-include .*.d

0 comments on commit 374a374

Please sign in to comment.