#
#	$Id$	
#

#!MESSAGE *** Unresolved issues in this nmake file ***

MXOBJ =        $(OBJDIR)\mxbrod.obj \
               $(OBJDIR)\mxcombv1.obj \
               $(OBJDIR)\mxsubs.obj \
               $(OBJDIR)\sum.obj \
               $(OBJDIR)\maxx.obj \
               $(OBJDIR)\peigs_dgop.obj

OBJ =          $(MXOBJ)

LIBRARY = peigs.lib

!INCLUDE ..\DEFS.WIN32

!INCLUDE ..\..\config\NTmakefile.h
!INCLUDE ..\..\config\NTmakelib.h

!IF 0

include ../DEFS


.PHONY :	clean

#
# Note that under Cygwin the rm commands are case-insensitive, so the
# commands below intended to remove intermediate .f files actually remove
# the original .F files!  Since intermediate files are not generated for
# Cygwin, this is avoided by commenting out the rm statements.
#
clean:		
		-rm -f *.o
ifneq ($(peigs_TARGET),CYGNUS)
		-rm -f mxbrod.f
		-rm -f mxcombv1.f
		-rm -f mxsubs.f
		-rm -f sum.f peigs_dgop.f
endif

realclean:
		clean

.SUFFIXES:	.o .s .F .f .c

.c.o:;	$(peigs_CC) $(peigs_COPT) -c $<
.f.o:;	$(peigs_FC) $(peigs_FOPT) -c $<
.F.o:;	$(peigs_FC) $(peigs_FOPT) -c $<



!ENDIF
