Skip to content

Commit

Permalink
fix make prerequisites to support parallel execution
Browse files Browse the repository at this point in the history
  • Loading branch information
josecm committed Apr 2, 2021
1 parent d9f255a commit 88bddfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ $(build_dir)/%.d : $(src_dir)/%.[c,S]
@echo "Creating dependecy $(patsubst $(cur_dir)/%, %, $<)"
@$(cc) -MM -MG -MT "$(patsubst %.d, %.o, $@) $@" $(CPPFLAGS) $< > $@

$(objs-y):
$(objs-y): | $(gens)
@echo "Compiling source $(patsubst $(cur_dir)/%, %, $<)"
@$(cc) $(CFLAGS) -c $< -o $@

Expand Down

0 comments on commit 88bddfa

Please sign in to comment.