# @configure_input@ # $Id: Makefile.in,v 1.12 2006/04/16 08:16:25 godisch Exp $ DESTDIR = prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ mandir = @mandir@ CC = @CC@ CPPFLAGS = -I. @CPPFLAGS@ CFLAGS = -Wall @CFLAGS@ LDFLAGS = -Wall @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ all: wmpuzzle wmpuzzle: wmpuzzle.o wmgeneral.o $(CC) $(LDFLAGS) $(LIBS) -o $@ $^ wmpuzzle.o: wmpuzzle.c wmpuzzle.h config.h linux.xpm daemon.xpm wmgeneral.o: wmgeneral.c wmgeneral.h install: wmpuzzle wmpuzzle.6 $(INSTALL) -D -m 755 wmpuzzle $(DESTDIR)$(bindir)/wmpuzzle $(INSTALL) -D -m 644 wmpuzzle.6 $(DESTDIR)$(mandir)/man6/wmpuzzle.6 uninstall: rm -f $(DESTDIR)$(bindir)/wmpuzzle rm -f $(DESTDIR)$(mandir)/man6/wmpuzzle.6 clean: rm -f *.o config.log config.status *~ distclean: clean rm -f Makefile wmpuzzle wmpuzzle.6 config.h cvsclean: distclean rm -f configure config.h.in .PHONY: all clean distclean cvsclean install uninstall