/*
 *	 Imakefile for ProgressMeter Release 1.0
 *	 (C) Michael A. Perzl, 1996
 *	 10 April 1996
 */


#ifndef XCOMM
#define XCOMM #
#endif


XCOMM  If you have another C compiler than xmkmf wants,
XCOMM  uncomment the next line
XCOMM CC= gcc


XCOMM  If you want to define any unusual flags ...
XCOMM CDEBUGFLAGS= -Wall -O2
XCOMM CDEBUGFLAGS= -fullwarn -O2
CDEBUGFLAGS= -Ae


XCOMM  If your C compiler doesn't understand ANSI-C,
XCOMM  uncomment the next line
XCOMM NOPROTO= -D_NO_PROTO


XCOMM  define here your local X11 installation

X11_INCLUDES= -I/usr/include/X11R5


XCOMM  define here your local Motif installation

XCOMM XM_INCLUDES= -I/usr/local/Motif1.2
XM_INCLUDES= -I/usr/include/Motif1.2


XCOMM Use this for SGI Irix 4.0.x
XCOMM XM_LIBRARIES= -lXm_s -lPW

XCOMM default setting
XCOMM XM_LIBRARIES= -lXm
XM_LIBRARIES= -L/usr/lib/Motif1.2 -lXm


/*
 *    END of customization part of the Imakefile
 */


DEFINES= $(NOPROTO) $(X11_INCLUDES) $(XM_INCLUDES)


SYS_LIBRARIES = $(XM_LIBRARIES) $(XTOOLLIB) $(XLIB) -lm


HEADERS= ProgressMeter.h \
         ProgressMeterP.h

SRCS= ptest.c \
      ProgressMeter.c

OBJS= ptest.o \
      ProgressMeter.o


TARGETS= Imakefile Makefile.noImake $(HEADERS) $(SRCS)



ComplexProgramTarget(ptest)



/* 
 *   define a rule for a distribution
 */

dist:	$(TARGETS)
	tar cvf dist.tar $(TARGETS)

