aboutsummaryrefslogtreecommitdiff
path: root/thumbnail/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-09 11:30:38 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-09 11:30:38 +0200
commitb82886a94a5e92b4e78898d327a991cbe5423d43 (patch)
tree9b1cb7f75dae4583e701bd2709f57ef6b9a41b25 /thumbnail/Makefile
parent4779955abfbe17cb3ecfed153192d33d78ec2ebd (diff)
downloadslcl-b82886a94a5e92b4e78898d327a991cbe5423d43.tar.gz
Fix installation for thumbnail
Diffstat (limited to 'thumbnail/Makefile')
-rw-r--r--thumbnail/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/thumbnail/Makefile b/thumbnail/Makefile
index 2d7b100..4ed1944 100644
--- a/thumbnail/Makefile
+++ b/thumbnail/Makefile
@@ -1,6 +1,7 @@
.POSIX:
PROJECT = thumbnail
+PREFIX = /usr/local
O = -Og
CDEFS = -D_FILE_OFFSET_BITS=64 # Required for large file support on 32-bit.
CFLAGS = $(O) $(CDEFS) -g -Wall -I../libweb/dynstr/include -I. \
@@ -17,6 +18,9 @@ OBJECTS = \
all: $(PROJECT)
+install: all
+ cp thumbnail $(PREFIX)/bin/
+
clean:
rm -f $(OBJECTS) $(DEPS)