Mercurial > audlegacy
comparison audtool/Makefile.in.standalone @ 1202:4122a358d1b6 trunk
[svn] - temporal: copy the original Makefile as a template for OMKizing.
author | nenolod |
---|---|
date | Tue, 13 Jun 2006 23:57:16 -0700 |
parents | audtool/Makefile.in@6af3f8fb2ed0 |
children |
comparison
equal
deleted
inserted
replaced
1201:673b2e43ba96 | 1202:4122a358d1b6 |
---|---|
1 CC = @CC@ | |
2 RM = @RM@ | |
3 MV = @MV@ | |
4 CP = @CP@ | |
5 INSTALL = @INSTALL@ | |
6 PREFIX = @prefix@ | |
7 BIN = audtool | |
8 LDFLAGS = @LDFLAGS@ | |
9 CPPFLAGS = @CPPFLAGS@ | |
10 | |
11 # enforce -pthread on systems for now, some systems seem not to pick | |
12 # it up automatically. --nenolod | |
13 LIBS = -pthread @LIBS@ @AUDACIOUS_LIBS@ | |
14 CFLAGS = -pthread @CFLAGS@ @AUDACIOUS_CFLAGS@ | |
15 | |
16 default: all | |
17 | |
18 BASE_SRCS = audtool.c | |
19 | |
20 SRCS = ${BASE_SRCS} | |
21 | |
22 OBJS = ${SRCS:.c=.o} | |
23 | |
24 all: audtool | |
25 | |
26 build: all | |
27 | |
28 audtool: $(OBJS) | |
29 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} | |
30 | |
31 install: | |
32 $(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX) | |
33 $(INSTALL) -m 755 -d $(DESTDIR)$(PREFIX)/bin | |
34 $(INSTALL) -m 755 -c $(BIN) $(DESTDIR)$(PREFIX)/bin | |
35 | |
36 .c.o: | |
37 ${CC} ${CPPFLAGS} ${CFLAGS} -c $< -o $@ | |
38 | |
39 clean: | |
40 ${RM} -f *.o audtool.core core audtool | |
41 | |
42 distclean: clean | |
43 ${RM} -f Makefile config.h config.status config.log |