Commit c114ca5
committed
Reapply "build: fix rule for building dynamic files"
This reverts commit 7eab365 and fixes
the pattern rule requirement "% must match a non-empty stem" to match at
least '.' in the pattern.
This whole file could actually be substantially simplified to just:
%.$(SUFFIX): %.c
$(CC) $(CFLAGS) -c $< -o $(@f)
%.$(PSUFFIX): %.c
$(CC) $(PFLAGS) -c $< -o $(@f)
if desired to entirely avoid the copy-paste duplication, but the net
effect is the same.1 parent b8697b3 commit c114ca5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments