Skip to content

Commit

Permalink
Revert "fix seba makefile to not rebuild if download is already there"
Browse files Browse the repository at this point in the history
This reverts commit f8d3ff7.
  • Loading branch information
rieder committed Sep 26, 2022
1 parent 7ac24f6 commit 3bb37f0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/amuse/community/seba/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ AM_CFLAGS = -I$(AMUSE_DIR)/lib/amuse_mpi

CODELIB = src/SeBa/sstar/libsstar.a src/SeBa/dstar/libdstar.a

.PHONY: download clean distclean

DOWNLOAD_FROM_WEB = $(PYTHON) ./download.py

Expand All @@ -40,13 +39,11 @@ clean:
$(RM) -r *.dSYM
@-make -C src/SeBa clean

distclean: clean
distclean:
$(RM) -f *.so *.o *.pyc worker_code.cc worker_code.h
$(RM) *~ worker_code
$(RM) -Rf src


$(CODELIB): src/SeBa
$(CODELIB): download src/SeBa
cd src/SeBa; make -C. CXX="$(CXX) $(CXXFLAGS)"

worker_code.cc: interface.py
Expand All @@ -60,6 +57,3 @@ seba_worker: worker_code.cc worker_code.h $(CODELIB) $(AMUSE_OBJS)

.cc.o: $<
$(CXX) $(CXXFLAGS) -c -o $@ $<

src/SeBa:
make -C . download

1 comment on commit 3bb37f0

@rieder
Copy link
Member Author

@rieder rieder commented on 3bb37f0 Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not re-downloading SeBa causes an issue when SeBa has been updated. Need to fix that first.

Please sign in to comment.