A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1890 ====================================================================== Reported By: steffen Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1890 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: steffen Organization: User Reference: Section: make Page Number: ~3146 ff. Line Number: ~106054 ff. Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-12-11 17:36 UTC Last Modified: 2024-12-14 01:55 UTC ====================================================================== Summary: make: inference rules: clarify relation to relative paths ======================================================================
---------------------------------------------------------------------- (0007008) steffen (reporter) - 2024-12-14 01:55 https://austingroupbugs.net/view.php?id=1890#c7008 ---------------------------------------------------------------------- Or, how about changing the default inference rule to <code> .c.o: $(CC) $(CFLAGS) -o $(<:.c=.o) -c $< </code> If one includes .y in .SUFFIXES, and in some top makefile eg <code> SUBDIRS = lib s-bsdipa .SUFFIXES: # 4 smake .DEFAULT: for i in $(SUBDIRS); do (cd "$$i" && $(MAKE) $@) || exit; done distclean: clean </code> and empty .SUFFIXES so that smake does not try to do something like <code> $ smake all ...for i in lib s-bsdipa; do (cd "$i" && smake all.y) || exit; done </code> then this is just nicely supported it seems. Anyhow the bmake trick from above does not work, i do not know why it worked yesterday, today it does not. A nice weekend everybody, i wish. Issue History Date Modified Username Field Change ====================================================================== 2024-12-11 17:36 steffen New Issue 2024-12-11 17:36 steffen Name => steffen 2024-12-11 17:36 steffen Section => make 2024-12-11 17:36 steffen Page Number => ~3146 ff. 2024-12-11 17:36 steffen Line Number => ~106054 ff. 2024-12-12 19:04 steffen Note Added: 0007004 2024-12-12 19:27 steffen Note Added: 0007005 2024-12-13 17:36 steffen Note Added: 0007007 2024-12-14 01:55 steffen Note Added: 0007008 ======================================================================
