## $Id: Makefile,v 1.2 2001/05/05 22:51:48 hpa Exp $
## -----------------------------------------------------------------------
##
## Copyright 2001 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139,
## USA; either version 2 of the License, or (at your option) any later
## version; incorporated herein by reference.
##
## -----------------------------------------------------------------------
PROGS = bwbar
CC = gcc
CFLAGS = -Wall -O2
LDFLAGS = -s
LIBS = -lpng
all: $(PROGS)
clean:
rm -f $(PROGS)
distclean: clean
rm -f *~ \#* core
bwbar: bwbar.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)