Makefile at [0633841472]

File Makefile artifact 0167e2a4d4 part of check-in 0633841472


CC = gcc
CFLAGS = -Wall -g -O2 -Icontrib/libstatgrab//include  -DHAVE_CONFIG_H
CPPFLAGS =  -Icontrib/libstatgrab//include  -DHAVE_CONFIG_H
LDFLAGS =  -Lcontrib/libstatgrab//lib   -lstatgrab
INSTALL = /usr/bin/install -c

prefix = /usr/local
mandir = ${prefix}/man
sysconfdir = ${prefix}/etc
datadir = ${prefix}/share
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin

all:
	$(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o free freecolor.c

install-over-free:
	strip free
	cp -i free `which free`

install:
	strip free
	$(INSTALL) -m 755 free $(bindir)/freecolor

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