aboutsummaryrefslogtreecommitdiff
path: root/thumbnail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'thumbnail/Makefile')
-rw-r--r--thumbnail/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/thumbnail/Makefile b/thumbnail/Makefile
deleted file mode 100644
index 4ed1944..0000000
--- a/thumbnail/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-.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. \
- $$(pkg-config --cflags ImageMagick) -MD -MF $(@:.o=.d)
-LDFLAGS = $(LIBS)
-DEPS = $(OBJECTS:.o=.d)
-DYNSTR = ../libweb/dynstr/libdynstr.a
-DYNSTR_LIBS = -L../libweb/dynstr -ldynstr
-LIBS = $$(pkg-config --libs ImageMagick) $(DYNSTR_LIBS)
-OBJECTS = \
- crealpath.o \
- main.o \
- cftw.o
-
-all: $(PROJECT)
-
-install: all
- cp thumbnail $(PREFIX)/bin/
-
-clean:
- rm -f $(OBJECTS) $(DEPS)
-
-distclean: clean
- rm -f $(PROJECT)
-
-$(PROJECT): $(OBJECTS) $(DYNSTR)
- $(CC) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $@
-
-$(DYNSTR):
- +cd ../dynstr && $(MAKE)
-
--include $(DEPS)