~ubuntu-branches/ubuntu/breezy/ratfor/breezy

« back to all changes in this revision

Viewing changes to GNUmakefile

  • Committer: Bazaar Package Importer
  • Author(s): Alan Bain
  • Date: 1999-10-26 14:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-19991026140000-jhakh07r6sfdh1gr
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#DEBUG := yes
 
3
# pd ratfor77 (oz)
 
4
#
 
5
# if F77 is defined, the output
 
6
# of ratfor is Fortran 77.
 
7
#
 
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"
 
13
#
 
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.
 
18
#
 
19
ifndef MAKEINC
 
20
    MAKEINC := ./../../config
 
21
endif
 
22
#
 
23
 
 
24
include $(MAKEINC)/Makefile.SEP.defs
 
25
 
 
26
# we don't want the standard SEP flags so override them
 
27
ifeq ($(GNU),yes)
 
28
CFLAGS := -c -DF77 -DS_CHAR=$(SIGNED_CHAR) -DGNU
 
29
else
 
30
CFLAGS := -c -DF77 -DS_CHAR=$(SIGNED_CHAR)
 
31
endif
 
32
 
 
33
all: $(SEPBINDIR)/ratfor77
 
34
        @echo "making all in ratfor77 : done"
 
35
#
 
36
deinstall:
 
37
        $(RM) $(SEPBINDIR)/ratfor77
 
38
        @echo "deinstall in ratfor77 : done"
 
39
#
 
40
$(SEPBINDIR)/ratfor77:  $(addprefix $(MACHINETYPE)/, rat4.o lookup.o getopt.o )
 
41
         $(link.c)
 
42
        $(INSTALL) $(INSTALLBIN) $(MACHINETYPE)/a.out $@
 
43
 
 
44
include $(MAKEINC)/Makefile.rules
 
45