summaryrefslogtreecommitdiff
path: root/Makefile
blob: 21a488a35c944ed14b2a89b6e971134df68ff7cf (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
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)