Skip to content

Commit 06a678e

Browse files
committed
make: Don't use a pattern rule for mpi(cc|cxx) scripts
1 parent 68a2e9d commit 06a678e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $(BUILD)/mpicc: override op := cc
5858
$(BUILD)/mpicxx: override CC := CXX
5959
$(BUILD)/mpicxx: override cc := c++
6060
$(BUILD)/mpicxx: override op := cxx
61-
$(BUILD)/mpic%: mpicc.in | $$(@D)/.DIR
61+
$(BUILD)/mpicc $(BUILD)/mpicxx : mpicc.in | $$(@D)/.DIR
6262
cp $< $@
6363
$(SED_I) -e 's:@includedir@:$(abspath $(PREFIX))/$(INCDIR):' $@
6464
$(SED_I) -e 's:@libdir@:$(abspath $(PREFIX))/$(LIBDIR):' $@

0 commit comments

Comments
 (0)