Description: enable shuffled build
Author: Sasscha Steinbiss <satta@debian.org>
Forwarded: https://github.com/genometools/genomethreader/pull/29
Last-Update: 2025-11-10
--- a/Makefile
+++ b/Makefile
@@ -337,7 +337,7 @@
 	$(CXX) -c $< -o $(@:.o=.d) $(EXP_CPPFLAGS) $(GTH_CPPFLAGS) -MM -MP \
 	  -MT $@
 
-obj/src/core/versionfunc.o: obj/gth_config.h
+src/libgenomethreader/gthversionfunc.c: obj/gth_config.h
 
 # read dependencies
 -include $(LIBGENOMETHREADER_DEP) \
@@ -535,7 +535,7 @@
                           -gtdonor -agacceptor -gzip
 	@touch $@
 
-obj/old_train: bin/gthmkbssmfiles
+obj/old_train: bin/gthmkbssmfiles obj/train
 	@echo "[write old BSSMs]"
 	@bin/gthmkbssmfiles bin/bssm
 	@touch $@
