summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5187f6b..fe842a9 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@
include config.mk
-SRC = png2if.c if2png.c jpg2if.c
+SRC = png2if.c if2png.c jpg2if.c gif2if.c
OBJ = ${SRC:.c=.o}
-all: options png2if if2png jpg2if
+all: options png2if if2png jpg2if gif2if
options:
@echo imagefile build options:
@@ -20,6 +20,10 @@ options:
${OBJ}: config.mk
+gif2if: gif2if.o
+ @echo CC -o $@
+ @${CC} -o $@ gif2if.o ${LDFLAGS} ${GIF_LIBS}
+
jpg2if: jpg2if.o
@echo CC -o $@
@${CC} -o $@ jpg2if.o ${LDFLAGS} ${JPEG_LIBS}
@@ -34,7 +38,7 @@ if2png: if2png.o
clean:
@echo cleaning
- @rm -f png2if if2png jpg2if ${OBJ}
+ @rm -f png2if if2png jpg2if gif2if ${OBJ}
install: all
@echo installing executable files to ${DESTDIR}${PREFIX}/bin