Skip to content
Permalink
c95019ec5a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (19 sloc) 420 Bytes
# define the C compiler to use
CC=gcc
# define any compile-time flags
CFLAGS=-Wall -g -std=c99
CLIBS=-lz -lhts
# define the C source files
SRCS=main.c config.c htsutils.c
# define the C object files
OBJS=$(SRCS:.c=.o)
# define the executable file
MAIN=PASSFinder
all: $(MAIN)
$(MAIN): $(OBJS)
$(CC) $(CFLAGS) -o $(MAIN) $(OBJS) $(CLIBS)
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
.PHONY: clean
clean:
rm -f *.o $(MAIN)