1 |
xarthisius 10/08/27 16:24:10 |
2 |
|
3 |
Added: Makefile-r1 |
4 |
Log: |
5 |
Respect CC and LDFLAGS wrt bug 334565. Thanks to Diego for the report. |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-misc/pogo/files/Makefile-r1 |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pogo/files/Makefile-r1?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/pogo/files/Makefile-r1?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: Makefile-r1 |
15 |
=================================================================== |
16 |
IMLIB_LIBS=$(shell exec pkg-config --libs imlib) |
17 |
IMLIB_CFLAGS=$(shell exec pkg-config --cflags imlib) |
18 |
|
19 |
all: pogo pogo-remote |
20 |
|
21 |
pogo: pogo.c |
22 |
$(CC) $(LDFLAGS) $(CFLAGS) $(IMLIB_CFLAGS) -o pogo pogo.c -Wall $(IMLIB_LIBS) |
23 |
|
24 |
pogo-remote: pogo-remote.c |
25 |
$(CC) $(LDFLAGS) $(CFLAGS) $(IMLIB_CFLAGS) -o pogo-remote pogo-remote.c -Wall |
26 |
|
27 |
install: |
28 |
mkdir -p ${DESTDIR}/usr/bin |
29 |
mkdir -p ${DESTDIR}/usr/share/pogo-2.2 |
30 |
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/images |
31 |
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/scripts |
32 |
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/configs |
33 |
|
34 |
cp images/*.jpg ${DESTDIR}/usr/share/pogo-2.2/images/ |
35 |
cp scripts/*.pogo ${DESTDIR}/usr/share/pogo-2.2/scripts/ |
36 |
cp configs/*.config ${DESTDIR}/usr/share/pogo-2.2/configs/ |
37 |
|
38 |
cp pogo ${DESTDIR}/usr/bin/ |
39 |
cp pogo-remote ${DESTDIR}/usr/bin |
40 |
|
41 |
clean: |
42 |
rm -rf pogo |
43 |
rm -rf pogo-remote |