Skip to content

Commit aff7d42

Browse files
jmarshallpd3
authored andcommitted
Fix Makefile dependencies and clean mpileup2/*.o
1 parent 10853dc commit aff7d42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ bam_sample_h = bam_sample.h $(htslib_sam_h)
243243
cigar_state_h = cigar_state.h $(htslib_hts_h) $(htslib_sam_h)
244244
read_consensus_h = read_consensus.h $(htslib_hts_h) $(htslib_sam_h)
245245
str_finder_h = str_finder.h utlist.h
246+
mpileup2_mpileup_h = mpileup2/mpileup.h $(htslib_sam_h)
246247

247248
str_finder.o: str_finder.c $(str_finder_h) utlist.h
248249
main.o: main.c $(htslib_hts_h) config.h version.h $(bcftools_h)
@@ -287,14 +288,14 @@ cols.o: cols.c cols.h
287288
regidx.o: regidx.c $(htslib_hts_h) $(htslib_kstring_h) $(htslib_kseq_h) $(htslib_khash_str2int_h) regidx.h
288289
consensus.o: consensus.c $(htslib_vcf_h) $(htslib_kstring_h) $(htslib_synced_bcf_reader_h) $(htslib_kseq_h) $(htslib_bgzf_h) regidx.h $(bcftools_h) rbuf.h $(filter_h) $(smpl_ilist_h)
289290
mpileup.o: mpileup.c $(htslib_sam_h) $(htslib_faidx_h) $(htslib_kstring_h) $(htslib_khash_str2int_h) $(htslib_hts_os_h) regidx.h $(bcftools_h) $(bam2bcf_h) $(bam_sample_h) $(gvcf_h)
290-
mpileup2/mpileup.o: mpileup2/mpileup.h mpileup2/mpileup.c $(htslib_sam_h) $(htslib_faidx_h) $(htslib_kstring_h) $(htslib_khash_str2int_h) $(htslib_hts_os_h) $(bcftools_h) $(bam2bcf_h) $(bam_sample_h)
291+
mpileup2/mpileup.o: mpileup2/mpileup.c $(htslib_hts_h) $(htslib_sam_h) $(htslib_faidx_h) regidx.h $(mpileup2_mpileup_h) $(bam_sample_h)
291292
bam2bcf.o: bam2bcf.c $(htslib_hts_h) $(htslib_sam_h) $(htslib_kstring_h) $(htslib_kfunc_h) $(bam2bcf_h) mw.h
292293
bam2bcf_indel.o: bam2bcf_indel.c $(htslib_hts_h) $(htslib_sam_h) $(htslib_khash_str2int_h) $(bam2bcf_h) $(htslib_ksort_h) $(str_finder_h)
293294
bam2bcf_iaux.o: bam2bcf_iaux.c $(htslib_hts_h) $(htslib_sam_h) $(htslib_khash_str2int_h) $(bcftools_h) $(bam2bcf_h) $(htslib_ksort_h) $(read_consensus_h) $(cigar_state_h)
294295
bam2bcf_edlib.o: bam2bcf_edlib.c $(htslib_hts_h) $(htslib_sam_h) $(htslib_khash_str2int_h) $(bam2bcf_h) $(str_finder_h) $(htslib_ksort_h) edlib.h
295296
read_consensus.o: read_consensus.c $(read_consensus_h) $(cigar_state_h) $(bcftools_h) kheap.h
296297
bam_sample.o: bam_sample.c $(htslib_hts_h) $(htslib_kstring_h) $(htslib_khash_str2int_h) $(khash_str2str_h) $(bam_sample_h) $(bcftools_h)
297-
version.o: version.h version.c
298+
version.o: version.c $(htslib_hts_h) $(bcftools_h) version.h
298299
hclust.o: hclust.c $(htslib_hts_h) $(htslib_kstring_h) $(bcftools_h) hclust.h
299300
HMM.o: HMM.c $(htslib_hts_h) HMM.h
300301
vcfbuf.o: vcfbuf.c $(htslib_vcf_h) $(htslib_vcfutils_h) $(htslib_hts_os_h) $(htslib_kbitset_h) $(bcftools_h) $(vcfbuf_h) rbuf.h
@@ -359,7 +360,7 @@ install: $(PROGRAMS) $(PLUGINS)
359360
$(INSTALL_PROGRAM) plugins/*$(PLUGIN_EXT) $(DESTDIR)$(plugindir)
360361

361362
clean: testclean clean-plugins
362-
-rm -f gmon.out *.o *.a *~ $(PROGRAMS) version.h
363+
-rm -f gmon.out *.o mpileup2/*.o *.a *~ $(PROGRAMS) version.h
363364
-rm -rf *.dSYM test/*.dSYM
364365

365366
clean-plugins:

0 commit comments

Comments
 (0)