diff options
author | Stijn Buys <ingar@telenet.be> | 2022-05-25 20:27:22 +0200 |
---|---|---|
committer | Stijn Buys <ingar@telenet.be> | 2022-05-25 20:27:22 +0200 |
commit | 9c1ed304375d5515e5a4a20bbdb0784d5b4de4b1 (patch) | |
tree | b1e6f6bba6f9ff941da86f8e818d2c32742a3827 /Makefile | |
parent | 377ee795e688f2f3363edcf3cb6455ec6b6653ef (diff) |
Changed license to LGPL-3.0, to accomodate the cairo_jpeg license. Added support for writing jpeg files.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,8 +1,8 @@ -CFLAGS = -I/usr/include/cairo -D_XOPEN_SOURCE -g -LDDFLAGS = -lcairo -lpopt -lm +CFLAGS = `pkg-config cairo libjpeg popt --cflags` -D_XOPEN_SOURCE -g +LDDFLAGS = `pkg-config cairo libjpeg popt --libs` -lm -SRC = genclockimg.o +SRC = cairo_jpg.o genclockimg.o TARGET = genclockimg $(TARGET): $(SRC) @@ -13,3 +13,9 @@ all: clean: rm *.o $(TARGET) +install: + install -o root -g root -m 755 $(target) /usr/bin + +uninstall: + rm /usr/bin/$(TARGET) + |