#ifndef MotifDefines
#ifdef SGIArchitecture
#define XpmTop /usr
#endif
#include <Motif.tmpl>
#endif

#include "../../../elle.tmpl"

SRCS1=   poly2goof.main.cc poly2goof.elle.cc
OBJS1=   poly2goof.main.o poly2goof.elle.o
SRCS2=   goof2elle.main.cc goof2elle.elle.cc
OBJS2=   goof2elle.main.o goof2elle.elle.o

SRCS=  $(SRCS1) $(SRCS2)
OBJS=  $(OBJS1) $(OBJS2)

EXTRA_LOAD_FLAGS = -L$(TOP)/lib

THISAPP1= poly2goof
THISAPP2= goof2elle
THISAPP3= batch_oof

.SUFFIXES: .c .cc .o
.cc .o:
	NormalCplusplusObjectRule()

AllTarget($(THISAPP1))

NormalCplusplusProgramTarget($(THISAPP1),$(OBJS1),$(DEPLIBS),$(LOCAL_LIBRARIES),-lm)

InstallProgram($(THISAPP1),$(BINDIR))

MakeBatch($(THISAPP1),$(BTCHEXT),$(OBJS1),$(BINDIR))

AllTarget($(THISAPP2))

NormalCplusplusProgramTarget($(THISAPP2),$(OBJS2),$(DEPLIBS),$(LOCAL_LIBRARIES),-lm)

MakeBatch($(THISAPP2),$(BTCHEXT),$(OBJS2),$(BINDIR))

InstallProgram($(THISAPP2),$(BINDIR))

InstallProgram($(THISAPP3),$(BINDIR))

CleanMakefile()

DependTarget()

