You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
511 B
25 lines
511 B
SHELL = /bin/sh
|
|
|
|
CFLAGS = -g -O4 -fomit-frame-pointer -Wall # -I../include -I/usr/local/include -I/usr/include
|
|
BASEDIR = $(DESTDIR)/usr
|
|
BINDIR = $(BASEDIR)/bin
|
|
|
|
all: jpegicc
|
|
|
|
jpegicc: jpegicc.o iccjpeg.o getopt.o
|
|
$(CC) $(CFLAGS) jpegicc.o iccjpeg.o getopt.o ../src/liblcms.a -o $@ -lm -ljpeg
|
|
|
|
iccjpeg.o: iccjpeg.c
|
|
jpegicc.o: jpegicc.c
|
|
getopt.o: getopt.c
|
|
|
|
install utils:: jpegicc
|
|
-cp jpegicc $(BINDIR)
|
|
-cp jpegicc.exe $(BINDIR) # Cygwin
|
|
|
|
|
|
clean:
|
|
-rm jpegicc.o getopt.o iccjpeg.o jpegicc jpegicc.exe
|
|
|
|
|