5
# if F77 is defined, the output
6
# of ratfor is Fortran 77.
8
# On sun4, use S_CHAR="char"
9
# On RS6000, use S_CHAR="signed char"
10
# On DEC3100, maybe use S_CHAR="signed char"
11
# On CRAY, use S_CHAR="char"
12
# On GNU, use S_CHAR="char"
14
# Default definition of the makefile include files
15
# If you have kept the whole distribution together you won't need to set
16
# this yourself. If you have just taken a few directories you should set
17
# the envionment variable "MAKEINC" to point at the config directory.
20
MAKEINC := ./../../config
24
include $(MAKEINC)/Makefile.SEP.defs
26
# we don't want the standard SEP flags so override them
28
CFLAGS := -c -DF77 -DS_CHAR=$(SIGNED_CHAR) -DGNU
30
CFLAGS := -c -DF77 -DS_CHAR=$(SIGNED_CHAR)
33
all: $(SEPBINDIR)/ratfor77
34
@echo "making all in ratfor77 : done"
37
$(RM) $(SEPBINDIR)/ratfor77
38
@echo "deinstall in ratfor77 : done"
40
$(SEPBINDIR)/ratfor77: $(addprefix $(MACHINETYPE)/, rat4.o lookup.o getopt.o )
42
$(INSTALL) $(INSTALLBIN) $(MACHINETYPE)/a.out $@
44
include $(MAKEINC)/Makefile.rules