You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/bam/files/0.4.0/Makefile

23 lines
508 B

LIBS += -lm -lpthread -llua -ldl
TARGETS = txt2c internal_base bam
BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c))
TXT2C_LUA = $(wildcard src/*.lua)
all: $(TARGETS)
txt2c: src/tools/txt2c
internal_base: src/internal_base.h
src/internal_base.h:
src/tools/txt2c $(TXT2C_LUA) > src/internal_base.h
bam: txt2c internal_base $(BAM_OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BAM_OBJ) $(LIBS)
test: $(TARGETS)
python scripts/test.py
clean:
rm -f $(BAM_OBJ) $(TARGETS) src/internal_base.h src/tools/txt2c