##############################################################################
#
# makefile for popxbiff
#
# version 0.3
#
# by Bill Kendrick
# nbs@sonic.net
# http://www.newbreedsoftware.com/
#
# September 10, 1998 - October 6, 1998
#
##############################################################################

### Directories: -------------------------------------------------------------

BITMAPDIR=$(PWD)
PREFIX=/usr/X11

### Definitions and Flags: ---------------------------------------------------

DEFINES=-DBITMAPDIR=\"$(BITMAPDIR)\"
CFLAGS=-O $(DEFINES) -I$(PREFIX)/include

### Libraries: ---------------------------------------------------------------

XLIB=-L$(PREFIX)/lib -lX11
LIBS=$(XLIB)

### Objects to be compiled: --------------------------------------------------

OBJECTS=popxbiff.o hints.o visual.o text.o


### Makefile commands: =======================================================

all:	popxbiff

clean:
	-rm popxbiff *.o


### popxbiff Binary: ---------------------------------------------------------

popxbiff:	$(OBJECTS)
	$(CC) $(CFLAGS) $(OBJECTS) -o popxbiff $(LIBS)


### popxbiff Object: ---------------------------------------------------------

popxbiff.o:	popxbiff.c hints.h visual.h text.h
	$(CC) $(CFLAGS) $(DEFINES) popxbiff.c -c


### Other objects: -----------------------------------------------------------

hints.o:	hints.c hints.h

visual.o:	visual.c visual.h

text.o:		text.c text.h

### The end! =================================================================
