# Last edited: Thu Nov  1 14:12:27 1990 by olafh (Olaf Heimburger) on GECKO
# Please read the accompanying README file before running Make
SRCS= Xchrom.c xchrom.c
OBJS= Xchrom.o xchrom.o
HFILES= Xchrom.h XchromP.h patchlevel.h xchrom.xbm xchrom_mask.xbm

SHARFLAGS= -c

#
# -DICCCM_COMP -- if the window manager is ICCCM compliant (tested under
#                 OpenWindows 2.0)
#
CFLAGS= -O -DICCCM_COMP
LDFLAGS= 
LIBS= -lXmu -lXt -lX11 -lm

all: xchrom

xchrom: $(OBJS)
	cc $(LDFLAGS) $(OBJS) $(LIBS) -o xchrom

clean:
	rm -f $(OBJS) *~ core xchrom

xchrom.shar:
	shar $(SHARFLAGS) README Imakefile Makefile.std xchrom.man \
	$(HFILES) $(SRCS) > $@

xchrom.shar.uu: xchrom.shar
	cat xchrom.shar | uuencode xchrom.shar > $@

xchrom.tar.Z:
	tar cvf - Imakefile README Makefile.std xchrom.man $(HFILES) $(SRCS) | \
	compress > $@

Xchrom.o: Xchrom.c Xchrom.h XchromP.h
xchrom.o: xchrom.c xchrom.xbm xchrom_mask.xbm patchlevel.h
