CC = @CC@
CFLAGS = -Wall @CFLAGS@ @DEFS@
CPPFLAGS = @CPPFLAGS@ @DEFS@
LDFLAGS = @LDFLAGS@ @LIBS@
INSTALL = @INSTALL@
LIBS = @LIBS@
prefix = @prefix@
mandir = @mandir@
sysconfdir = @sysconfdir@
datadir = @datadir@
exec_prefix = @exec_prefix@
bindir = @bindir@
all:
$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o free freecolor.c $(LIBS)
install-over-free:
strip free
cp -i free `which free`
install:
strip free
-$(INSTALL) -d $(bindir)
-$(INSTALL) -d $(mandir)/man1
$(INSTALL) -m 755 free $(bindir)/freecolor
$(INSTALL) -m 644 freecolor.1 $(mandir)/man1/freecolor.1
clean:
rm -f core free *~
distclean: clean
rm -f Makefile config.log config.h config.status
pristine: distclean
rm -rf autom4te.cache/ config.h.in configure