Skip to content
mkfl_gen3 581 B
Newer Older
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed
LD = $(CF)

# Lines from here on down should not need to be changed.  They are the
# actual rules which make uses to build a.out.
#
all:		$(CMD)
.SUFFIXES :
.SUFFIXES : .o .F90 .c

$(OBJS):   fly_h.F90 



.F90.o :  
	$(CF) $(FFLAGS) -c $<
.c.o :
	$(CC) $(CFLAGS) -c $<

$(CMD):		$(OBJS)
	$(LD) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) 

# Make the profiled version of the command and call it a.out.prof
#
$(CMD).prof:	$(OBJS)
	$(CF) $(LDFLAGS) -o $(@) $(OBJS) $(PROFLIB) $(LIBS)

clean:
	-rm -f $(OBJS)

clobber:	clean
	-rm -f $(CMD) $(CMD).prof

void:	clobber
	-rm -f $(SRCS) makefile