Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 74cc4c5587
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.518 kb
LIBS += -lm -lpthread -llua -ldl -rdynamic
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
Jump to Line
Something went wrong with that request. Please try again.