Skip to content

Commit 812d437

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

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/amuse_gadget2/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,15 @@ 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+
33+
#build_%/allvars.o: build_%/makefile_options FORCE
34+
# $(MAKE) -C build_$* -f ../src/Makefile -j $(CPU_COUNT) all VPATH=../src
35+
3036

3137
# Load code configuration
3238
OPT :=

0 commit comments

Comments
 (0)