blob: 503a651abc174fdce7f45acb7cdc23d08fb5f965 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
CFLAGS = `pkg-config cairo libjpeg popt --cflags` -D_XOPEN_SOURCE -g
LDDFLAGS = `pkg-config cairo libjpeg popt --libs` -lm
SRC = genclockimg.o cairo_jpg.o
TARGET = genclockimg
$(TARGET): $(SRC)
gcc $(SRC) -o $(TARGET) $(LDDFLAGS)
all:
clean:
rm *.o $(TARGET)
install:
install -o root -g root -m 755 $(TARGET) /usr/bin
uninstall:
rm /usr/bin/$(TARGET)
|