Skip to content

Commit 7eb0d80

Browse files
committed
Make build compatible with GNU make 3.81 (#1246)
1 parent 0fbf110 commit 7eb0d80

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/amuse_gadget2/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ build_%:
2424
build_%/makefile_options: makefile_options_% | build_%
2525
cp makefile_options_$* $@
2626

27-
build_%/$(CODELIB) build_%/allvars.o &: build_%/makefile_options FORCE
27+
build_%/$(CODELIB): build_%/makefile_options FORCE
2828
$(MAKE) -C build_$* -f ../src/Makefile -j $(CPU_COUNT) all VPATH=../src
2929

30+
build_%/allvars.o: build_%/$(CODELIB) FORCE
31+
@true
32+
3033

3134
# Load code configuration
3235
OPT :=

0 commit comments

Comments
 (0)