diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-10-28 12:05:32 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-10-28 12:05:32 -0400 |
commit | 1c84ef12c76848ebddee31b4aec7f66768f59b3b (patch) | |
tree | 73b0f8ee6e17ce3619f9b0d19ecf8e610ca19e41 | |
parent | fa48bb8c603ad6f2a98b425b6a97e1dc27ecc166 (diff) |
update Makefile to be more sane and use targets correctly
-rw-r--r-- | src/c/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/c/Makefile b/src/c/Makefile index 1f59312..0e03ad8 100644 --- a/src/c/Makefile +++ b/src/c/Makefile @@ -17,11 +17,13 @@ nnls.o: nnls.c $(CC) -c nnls.c -o nnls.o $(CFLAGS) kmer_utils.o: kmer_utils.c $(CC) -c kmer_utils.c -o kmer_utils.o $(CFLAGS) -multifasta_to_otu: kmer_utils.o nnls.o multifasta_to_otu.c - $(CC) multifasta_to_otu.c quikr_functions.c nnls.o kmer_utils.o -o multifasta_to_otu $(CFLAGS) $(MULTIFASTA_CFLAGS) -quikr_train: kmer_utils.o quikr_train.c - $(CC) quikr_train.c quikr_functions.c -o quikr_train $(CFLAGS) $(QUIKR_TRAIN_CFLAGS) -quikr: kmer_utils.o nnls.o quikr.c - $(CC) quikr.c quikr_functions.c nnls.o kmer_utils.o -o quikr $(CFLAGS) $(QUIKR_CFLAGS) -I../ +quikr_functions.o: quikr_functions.c + $(CC) -c quikr_functions.c -o quikr_functions.o $(CFLAGS) +multifasta_to_otu: kmer_utils.o nnls.o quikr_functions.o multifasta_to_otu.c + $(CC) multifasta_to_otu.c quikr_functions.o nnls.o kmer_utils.o -o multifasta_to_otu $(CFLAGS) $(MULTIFASTA_CFLAGS) +quikr_train: kmer_utils.o quikr_functions.o quikr_train.c + $(CC) quikr_train.c quikr_functions.o kmer_utils.o -o quikr_train $(CFLAGS) $(QUIKR_TRAIN_CFLAGS) +quikr: kmer_utils.o nnls.o quikr_functions.o quikr.c + $(CC) quikr.c quikr_functions.o nnls.o kmer_utils.o -o quikr $(CFLAGS) $(QUIKR_CFLAGS) -I../ clean: - rm -vf quikr_train quikr multifasta_to_otu *.o + rm -v quikr_train quikr multifasta_to_otu *.o |