summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9faee5bdb9049b75e10d0dee5d4146d0d343f288 (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 = cairo_jpg.o 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)