blob: 55bfd3e5e0cb57bebc7d0f1929d1bd1d31995630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
all: pogo pogo-remote
pogo: pogo.c
gcc ${CFLAGS} -o pogo pogo.c -Wall -I/usr/X11R6/include -I${DESTDIR}/usr/share/include -L/usr/X11R6/lib -L${DESTDIR}/usr/share/lib -lX11 -lXext -ljpeg -lz -lm -lImlib
pogo-remote: pogo-remote.c
gcc ${CFLAGS} -o pogo-remote pogo-remote.c -Wall
install:
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/share/pogo-2.2
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/images
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/scripts
mkdir -p ${DESTDIR}/usr/share/pogo-2.2/configs
cp images/*.jpg ${DESTDIR}/usr/share/pogo-2.2/images/
cp scripts/*.pogo ${DESTDIR}/usr/share/pogo-2.2/scripts/
cp configs/*.config ${DESTDIR}/usr/share/pogo-2.2/configs/
cp pogo ${DESTDIR}/usr/bin/
cp pogo-remote ${DESTDIR}/usr/bin
clean:
rm -rf pogo
rm -rf pogo-remote
|