Skip to content

Commit e0824c9

Browse files
authored
Fix sporadic CI build failure, resulting from "builddir" not being created on time. (#25)
1 parent 54a3fcc commit e0824c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,11 @@ MKDEP = \
213213
[ "$${PIPESTATUS[*]}" = "0 0" ] || \
214214
{ rm -f $(basename $@).d; exit 1; }
215215

216-
$(BUILDDIR)/%.o: %.c
216+
$(BUILDDIR)/%.o: %.c | builddir
217217
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
218218
$(MKDEP)
219219

220-
$(BUILDDIR)/%.o: %.s
220+
$(BUILDDIR)/%.o: %.s | builddir
221221
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -D__ASSEMBLY__ -c $< -o $@
222222
$(MKDEP)
223223

0 commit comments

Comments
 (0)