/[gentoo-x86]/dev-util/bam/files/0.4.0/Makefile
Gentoo

Contents of /dev-util/bam/files/0.4.0/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 22 17:32:58 2012 UTC (10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Fix underlinking, bug #410175 by Alec Meyers.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 LIBS += -lm -lpthread -llua -ldl
2 TARGETS = txt2c internal_base bam
3 BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c))
4 TXT2C_LUA = $(wildcard src/*.lua)
5
6 all: $(TARGETS)
7
8 txt2c: src/tools/txt2c
9
10 internal_base: src/internal_base.h
11
12 src/internal_base.h:
13 src/tools/txt2c $(TXT2C_LUA) > src/internal_base.h
14
15 bam: txt2c internal_base $(BAM_OBJ)
16 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BAM_OBJ) $(LIBS)
17
18 test: $(TARGETS)
19 python scripts/test.py
20
21 clean:
22 rm -f $(BAM_OBJ) $(TARGETS) src/internal_base.h src/tools/txt2c

  ViewVC Help
Powered by ViewVC 1.1.13