2 # Copyright (C) 1989, Free Software Foundation
4 # This file is part of GAS, the GNU Assembler.
6 # GAS is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 1, or (at your option)
11 # GAS is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GAS; see the file COPYING. If not, write to
18 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 BINDIR = /usr/local/bin
25 # Add these flags to XCFLAGS below for specific use.
27 # If you machine does not have vfprintf, but does have _doprnt(),
30 # If the return-type of a signal-hander is void (instead of int),
33 # To include the mc68851 mmu coprocessor instructions in the 68020 assembler,
36 # If you want the 80386 assembler to correctly handle fsub/fsubr and fdiv/fdivr
37 # opcodes (unlike most 80386 assemblers)
42 # Your favorite compiler
45 # Uncomment the following lines if you use USG
48 COFF_OBJECTS = stack.o
50 CFLAGS = -g $(CPPFLAGS) $(XCFLAGS)
54 # Uncomment the following lines if you use BSD
57 #CFLAGS = -g $(CPPFLAGS) $(XCFLAGS)
62 machine.c machine.h atof.c obj-format.c obj-format.h opcode.h
65 as.o xrealloc.o xmalloc.o hash.o hex-value.o \
66 atof-generic.o append.o messages.o expr.o app.o \
67 frags.o input-file.o input-scrub.o output-file.o \
68 subsegs.o symbols.o version.o flonum-const.o flonum-copy.o \
69 flonum-mult.o strstr.o bignum-copy.o obstack.o write.o read.o \
70 obj-format.o machine.o atof.o $(COFF_OBJECTS)
72 SOURCES = $(OBJECTS:.o=.c)
77 cp $(BINARY) $(BINDIR)
83 rm -f $(BINARY) $(CONFIG_FILES) dependencies TAGS m68k.h
85 $(BINARY) : $(OBJECTS)
86 $(CC) -o $(BINARY) $(LDFLAGS) $(OBJECTS) $(LOADLIBES)
92 cxref -c $(INCLUDE_DIRS) $(SOURCES)
95 $(CC) $(CFLAGS) -c stack.c