summaryrefslogblamecommitdiff
path: root/www/swiggle/files/patch-Makfile
blob: fbd9275df93b582ca729b227012cf117cb6c9d5c (plain) (tree)























                                                                         
--- Makefile.orig	Sat Feb  1 23:08:57 2003
+++ Makefile	Wed Feb 19 18:22:31 2003
@@ -1,11 +1,10 @@
 # Makefile for swiggle
 #
 # $Id: Makefile,v 1.7 2003/02/01 22:08:57 le Exp $
-CC = gcc
 PROGRAM = swiggle
 OBJS = swiggle.o resize.o html.o
 HEADER = swiggle.h
-CFLAGS += -Wall -g -I/usr/local/include -I/usr/local/include/libexif -O3
+CFLAGS += -Wall -g -I/usr/local/include -I/usr/local/include/libexif
 LDFLAGS += -L/usr/local/lib -ljpeg -lexif
 
 .if defined(DEBUG)
@@ -15,7 +14,7 @@
 all: ${PROGRAM}
 
 ${PROGRAM}: ${OBJS}
-	gcc ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS}
+	${CC} ${CFLAGS} ${LDFLAGS} -o ${PROGRAM} ${OBJS}
 
 ${OBJS}: ${HEADER}