CC = gcc
FLAGS = -Wall -O3

all:
	$(CC) $(FLAGS) -o free freecolor.c
static:
	$(CC) $(FLAGS) -static -o free freecolor.c
	strip free
	@echo "Free is `ls -l free | cut -b 30-41` bytes."

install-over-free:
	strip free
	cp -i free /bin
install:
	strip free
	cp -i free /bin/freecolor
clean:
	rm -f core free
