| 1 |
# $Id: Makefile.amigaos 3212 2025-04-13 07:53:39Z soci $ |
| 2 |
CC = vc |
| 3 |
OBJS = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \ |
| 4 |
encoding.o ternary.o file.o values.o variables.o mem.o isnprintf.o macro.o \ |
| 5 |
obj.o floatobj.o addressobj.o codeobj.o strobj.o listobj.o boolobj.o bytesobj.o \ |
| 6 |
intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \ |
| 7 |
registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \ |
| 8 |
longjump.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \ |
| 9 |
errorobj.o macroobj.o mfuncobj.o symbolobj.o anonsymbolobj.o memblocksobj.o \ |
| 10 |
foldobj.o main.o console.o encobj.o argvalues.o |
| 11 |
LDLIBS = -lmsoft |
| 12 |
LANG = C |
| 13 |
CFLAGS = -c99 -soft-float |
| 14 |
LDFLAGS = |
| 15 |
TARGET = 64tass |
| 16 |
RM = rm -f |
| 17 |
PREFIX = $(DESTDIR)/usr/local |
| 18 |
BINDIR = $(PREFIX)/bin |
| 19 |
|
| 20 |
.SILENT: |
| 21 |
|
| 22 |
$(TARGET): $(OBJS) |
| 23 |
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@ |
| 24 |
|
| 25 |
64tass.o: 64tass.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \ |
| 26 |
error.h errors_e.h opcodes.h eval.h oper_e.h values.h section.h avl.h \ |
| 27 |
str.h encoding.h file.h variables.h macro.h instruction.h unicode.h \ |
| 28 |
listing.h optimizer.h arguments.h ternary.h opt_bit.h longjump.h mem.h \ |
| 29 |
unicodedata.h main.h argvalues.h version.h listobj.h obj.h codeobj.h \ |
| 30 |
strobj.h addressobj.h boolobj.h bytesobj.h intobj.h bitsobj.h \ |
| 31 |
functionobj.h namespaceobj.h operobj.h gapobj.h typeobj.h noneobj.h \ |
| 32 |
registerobj.h labelobj.h errorobj.h macroobj.h mfuncobj.h memblocksobj.h \ |
| 33 |
symbolobj.h anonsymbolobj.h dictobj.h encobj.h |
| 34 |
addressobj.o: addressobj.c addressobj.h obj.h attributes.h inttypes.h \ |
| 35 |
values.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \ |
| 36 |
arguments.h boolobj.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h \ |
| 37 |
floatobj.h bitsobj.h bytesobj.h registerobj.h codeobj.h |
| 38 |
anonsymbolobj.o: anonsymbolobj.c anonsymbolobj.h obj.h attributes.h \ |
| 39 |
inttypes.h eval.h stdbool.h oper_e.h values.h typeobj.h strobj.h |
| 40 |
arguments.o: arguments.c arguments.h stdbool.h inttypes.h 64tass.h \ |
| 41 |
attributes.h wait_e.h opcodes.h my_getopt.h error.h errors_e.h unicode.h \ |
| 42 |
version.h |
| 43 |
argvalues.o: argvalues.c argvalues.h arguments.h stdbool.h inttypes.h \ |
| 44 |
64tass.h attributes.h wait_e.h eval.h oper_e.h error.h errors_e.h \ |
| 45 |
values.h instruction.h namespaceobj.h obj.h |
| 46 |
avl.o: avl.c avl.h attributes.h stdbool.h |
| 47 |
bitsobj.o: bitsobj.c bitsobj.h obj.h attributes.h inttypes.h oper_e.h \ |
| 48 |
math.h eval.h stdbool.h variables.h unicode.h error.h errors_e.h \ |
| 49 |
arguments.h codeobj.h values.h boolobj.h floatobj.h strobj.h bytesobj.h \ |
| 50 |
intobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \ |
| 51 |
avl.h |
| 52 |
boolobj.o: boolobj.c boolobj.h obj.h attributes.h inttypes.h stdbool.h \ |
| 53 |
eval.h oper_e.h error.h errors_e.h variables.h arguments.h floatobj.h \ |
| 54 |
values.h strobj.h bitsobj.h intobj.h typeobj.h errorobj.h noneobj.h \ |
| 55 |
functionobj.h |
| 56 |
bytesobj.o: bytesobj.c bytesobj.h obj.h attributes.h inttypes.h math.h \ |
| 57 |
eval.h stdbool.h oper_e.h unicode.h variables.h arguments.h error.h \ |
| 58 |
errors_e.h boolobj.h floatobj.h values.h codeobj.h intobj.h strobj.h \ |
| 59 |
bitsobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \ |
| 60 |
avl.h |
| 61 |
codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \ |
| 62 |
stdbool.h eval.h oper_e.h mem.h 64tass.h wait_e.h section.h avl.h str.h \ |
| 63 |
variables.h error.h errors_e.h arguments.h boolobj.h floatobj.h \ |
| 64 |
namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h gapobj.h \ |
| 65 |
typeobj.h noneobj.h errorobj.h memblocksobj.h symbolobj.h addressobj.h \ |
| 66 |
strobj.h |
| 67 |
console.o: console.c console.h stdbool.h |
| 68 |
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \ |
| 69 |
stdbool.h oper_e.h error.h errors_e.h variables.h intobj.h listobj.h \ |
| 70 |
values.h strobj.h boolobj.h typeobj.h noneobj.h errorobj.h symbolobj.h \ |
| 71 |
str.h |
| 72 |
encobj.o: encobj.c encobj.h obj.h attributes.h inttypes.h stdbool.h avl.h \ |
| 73 |
errors_e.h values.h ternary.h str.h error.h 64tass.h wait_e.h encoding.h \ |
| 74 |
unicode.h eval.h oper_e.h typeobj.h strobj.h bytesobj.h bitsobj.h \ |
| 75 |
errorobj.h functionobj.h |
| 76 |
encoding.o: encoding.c encoding.h stdbool.h error.h attributes.h \ |
| 77 |
errors_e.h inttypes.h ternary.h values.h 64tass.h wait_e.h str.h \ |
| 78 |
encobj.h obj.h avl.h |
| 79 |
error.o: error.c error.h attributes.h stdbool.h errors_e.h inttypes.h \ |
| 80 |
file.h 64tass.h wait_e.h unicode.h eval.h oper_e.h arguments.h opcodes.h \ |
| 81 |
section.h avl.h str.h macro.h strobj.h obj.h addressobj.h values.h \ |
| 82 |
registerobj.h namespaceobj.h operobj.h typeobj.h labelobj.h errorobj.h \ |
| 83 |
noneobj.h symbolobj.h anonsymbolobj.h console.h |
| 84 |
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \ |
| 85 |
errors_e.h oper_e.h stdbool.h eval.h values.h error.h 64tass.h wait_e.h \ |
| 86 |
file.h macro.h typeobj.h registerobj.h namespaceobj.h |
| 87 |
eval.o: eval.c eval.h attributes.h inttypes.h stdbool.h oper_e.h math.h \ |
| 88 |
section.h avl.h str.h variables.h 64tass.h wait_e.h unicode.h error.h \ |
| 89 |
errors_e.h values.h arguments.h optimizer.h unicodedata.h floatobj.h \ |
| 90 |
obj.h boolobj.h intobj.h bitsobj.h strobj.h codeobj.h bytesobj.h \ |
| 91 |
addressobj.h listobj.h dictobj.h registerobj.h namespaceobj.h operobj.h \ |
| 92 |
gapobj.h typeobj.h noneobj.h labelobj.h errorobj.h symbolobj.h \ |
| 93 |
anonsymbolobj.h foldobj.h memblocksobj.h functionobj.h |
| 94 |
file.o: file.c file.h stdbool.h inttypes.h wchar.h 64tass.h attributes.h \ |
| 95 |
wait_e.h unicode.h error.h errors_e.h arguments.h unicodedata.h avl.h \ |
| 96 |
str.h main.h |
| 97 |
floatobj.o: floatobj.c floatobj.h obj.h attributes.h inttypes.h values.h \ |
| 98 |
math.h error.h stdbool.h errors_e.h eval.h oper_e.h variables.h \ |
| 99 |
arguments.h boolobj.h codeobj.h strobj.h bytesobj.h intobj.h bitsobj.h \ |
| 100 |
operobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h |
| 101 |
foldobj.o: foldobj.c foldobj.h obj.h attributes.h inttypes.h values.h \ |
| 102 |
eval.h stdbool.h oper_e.h typeobj.h strobj.h errorobj.h errors_e.h \ |
| 103 |
boolobj.h |
| 104 |
functionobj.o: functionobj.c functionobj.h obj.h attributes.h inttypes.h \ |
| 105 |
math.h isnprintf.h eval.h stdbool.h oper_e.h variables.h error.h \ |
| 106 |
errors_e.h file.h arguments.h instruction.h 64tass.h wait_e.h section.h \ |
| 107 |
avl.h str.h floatobj.h values.h strobj.h listobj.h intobj.h boolobj.h \ |
| 108 |
typeobj.h noneobj.h errorobj.h bytesobj.h dictobj.h addressobj.h |
| 109 |
gapobj.o: gapobj.c gapobj.h obj.h attributes.h inttypes.h eval.h \ |
| 110 |
stdbool.h oper_e.h variables.h values.h strobj.h boolobj.h typeobj.h |
| 111 |
instruction.o: instruction.c instruction.h attributes.h stdbool.h \ |
| 112 |
inttypes.h opcodes.h 64tass.h wait_e.h section.h avl.h str.h file.h \ |
| 113 |
listing.h error.h errors_e.h longjump.h arguments.h optimizer.h \ |
| 114 |
addressobj.h obj.h values.h listobj.h registerobj.h codeobj.h typeobj.h \ |
| 115 |
noneobj.h errorobj.h oper_e.h memblocksobj.h eval.h |
| 116 |
intobj.o: intobj.c intobj.h obj.h attributes.h inttypes.h math.h \ |
| 117 |
unicode.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \ |
| 118 |
arguments.h boolobj.h floatobj.h values.h codeobj.h strobj.h bytesobj.h \ |
| 119 |
bitsobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h \ |
| 120 |
encobj.h avl.h |
| 121 |
isnprintf.o: isnprintf.c isnprintf.h attributes.h inttypes.h unicode.h \ |
| 122 |
stdbool.h eval.h oper_e.h error.h errors_e.h str.h floatobj.h obj.h \ |
| 123 |
values.h strobj.h intobj.h bitsobj.h typeobj.h noneobj.h errorobj.h |
| 124 |
labelobj.o: labelobj.c labelobj.h obj.h attributes.h inttypes.h str.h \ |
| 125 |
stdbool.h values.h error.h errors_e.h unicode.h file.h strobj.h \ |
| 126 |
typeobj.h |
| 127 |
listing.o: listing.c listing.h attributes.h inttypes.h stdbool.h file.h \ |
| 128 |
error.h errors_e.h 64tass.h wait_e.h opcodes.h unicode.h section.h avl.h \ |
| 129 |
str.h instruction.h obj.h values.h arguments.h macro.h version.h |
| 130 |
listobj.o: listobj.c listobj.h obj.h attributes.h inttypes.h values.h \ |
| 131 |
stdbool.h eval.h oper_e.h variables.h error.h errors_e.h boolobj.h \ |
| 132 |
codeobj.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h foldobj.h |
| 133 |
longjump.o: longjump.c longjump.h avl.h attributes.h inttypes.h error.h \ |
| 134 |
stdbool.h errors_e.h obj.h values.h codeobj.h |
| 135 |
macro.o: macro.c macro.h inttypes.h wait_e.h stdbool.h file.h eval.h \ |
| 136 |
attributes.h oper_e.h values.h section.h avl.h str.h variables.h \ |
| 137 |
64tass.h listing.h error.h errors_e.h arguments.h optimizer.h main.h \ |
| 138 |
listobj.h obj.h typeobj.h noneobj.h namespaceobj.h labelobj.h macroobj.h \ |
| 139 |
mfuncobj.h memblocksobj.h functionobj.h |
| 140 |
macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \ |
| 141 |
stdbool.h values.h eval.h oper_e.h error.h errors_e.h file.h typeobj.h \ |
| 142 |
namespaceobj.h intobj.h noneobj.h errorobj.h |
| 143 |
main.o: main.c main.h stdbool.h wchar.h inttypes.h error.h attributes.h \ |
| 144 |
errors_e.h unicode.h console.h 64tass.h wait_e.h |
| 145 |
math.o: math.c math.h |
| 146 |
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \ |
| 147 |
inttypes.h stdbool.h values.h error.h errors_e.h section.h avl.h str.h \ |
| 148 |
unicode.h arguments.h version.h typeobj.h |
| 149 |
mem.o: mem.c mem.h attributes.h inttypes.h error.h stdbool.h errors_e.h \ |
| 150 |
unicode.h 64tass.h wait_e.h listing.h arguments.h values.h \ |
| 151 |
memblocksobj.h obj.h |
| 152 |
mfuncobj.o: mfuncobj.c mfuncobj.h obj.h attributes.h inttypes.h str.h \ |
| 153 |
stdbool.h values.h eval.h oper_e.h error.h errors_e.h macro.h wait_e.h \ |
| 154 |
file.h typeobj.h namespaceobj.h listobj.h |
| 155 |
my_getopt.o: my_getopt.c my_getopt.h stdbool.h unicode.h attributes.h \ |
| 156 |
inttypes.h error.h errors_e.h |
| 157 |
namespaceobj.o: namespaceobj.c namespaceobj.h obj.h attributes.h \ |
| 158 |
inttypes.h variables.h stdbool.h eval.h oper_e.h error.h errors_e.h \ |
| 159 |
arguments.h 64tass.h wait_e.h listobj.h values.h strobj.h typeobj.h \ |
| 160 |
noneobj.h labelobj.h str.h errorobj.h symbolobj.h anonsymbolobj.h \ |
| 161 |
codeobj.h macroobj.h mfuncobj.h boolobj.h |
| 162 |
noneobj.o: noneobj.c noneobj.h obj.h attributes.h inttypes.h eval.h \ |
| 163 |
stdbool.h oper_e.h typeobj.h errorobj.h errors_e.h |
| 164 |
obj.o: obj.c obj.h attributes.h inttypes.h eval.h stdbool.h oper_e.h \ |
| 165 |
values.h boolobj.h floatobj.h strobj.h macroobj.h str.h intobj.h \ |
| 166 |
listobj.h namespaceobj.h addressobj.h codeobj.h registerobj.h bytesobj.h \ |
| 167 |
bitsobj.h functionobj.h dictobj.h operobj.h gapobj.h typeobj.h noneobj.h \ |
| 168 |
labelobj.h errorobj.h errors_e.h mfuncobj.h symbolobj.h anonsymbolobj.h \ |
| 169 |
memblocksobj.h foldobj.h encobj.h avl.h |
| 170 |
opcodes.o: opcodes.c opcodes.h inttypes.h |
| 171 |
operobj.o: operobj.c operobj.h obj.h attributes.h inttypes.h oper_e.h \ |
| 172 |
strobj.h stdbool.h typeobj.h |
| 173 |
opt_bit.o: opt_bit.c opt_bit.h stdbool.h attributes.h error.h errors_e.h \ |
| 174 |
inttypes.h |
| 175 |
optimizer.o: optimizer.c optimizer.h inttypes.h stdbool.h error.h \ |
| 176 |
attributes.h errors_e.h section.h avl.h str.h opcodes.h opt_bit.h \ |
| 177 |
macro.h wait_e.h |
| 178 |
registerobj.o: registerobj.c registerobj.h obj.h attributes.h inttypes.h \ |
| 179 |
stdbool.h eval.h oper_e.h variables.h values.h error.h errors_e.h \ |
| 180 |
strobj.h typeobj.h errorobj.h addressobj.h intobj.h |
| 181 |
section.o: section.c section.h avl.h attributes.h stdbool.h str.h \ |
| 182 |
inttypes.h unicode.h error.h errors_e.h 64tass.h wait_e.h values.h \ |
| 183 |
intobj.h obj.h longjump.h optimizer.h eval.h oper_e.h memblocksobj.h \ |
| 184 |
mem.h |
| 185 |
str.o: str.c str.h inttypes.h unicode.h attributes.h stdbool.h error.h \ |
| 186 |
errors_e.h arguments.h |
| 187 |
strobj.o: strobj.c strobj.h obj.h attributes.h inttypes.h stdbool.h \ |
| 188 |
eval.h oper_e.h unicode.h error.h errors_e.h variables.h arguments.h \ |
| 189 |
str.h boolobj.h bytesobj.h intobj.h bitsobj.h listobj.h values.h \ |
| 190 |
typeobj.h noneobj.h errorobj.h |
| 191 |
symbolobj.o: symbolobj.c symbolobj.h obj.h attributes.h inttypes.h str.h \ |
| 192 |
stdbool.h eval.h oper_e.h unicode.h error.h errors_e.h file.h values.h \ |
| 193 |
arguments.h variables.h typeobj.h strobj.h errorobj.h |
| 194 |
ternary.o: ternary.c ternary.h stdbool.h inttypes.h unicode.h \ |
| 195 |
attributes.h error.h errors_e.h |
| 196 |
typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \ |
| 197 |
variables.h eval.h oper_e.h strobj.h functionobj.h dictobj.h |
| 198 |
unicodedata.o: unicodedata.c unicodedata.h inttypes.h attributes.h |
| 199 |
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \ |
| 200 |
unicodedata.h str.h console.h error.h errors_e.h |
| 201 |
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \ |
| 202 |
stdbool.h error.h errors_e.h strobj.h typeobj.h |
| 203 |
variables.o: variables.c variables.h stdbool.h inttypes.h unicode.h \ |
| 204 |
attributes.h 64tass.h wait_e.h file.h obj.h error.h errors_e.h values.h \ |
| 205 |
arguments.h eval.h oper_e.h section.h avl.h str.h version.h boolobj.h \ |
| 206 |
floatobj.h namespaceobj.h strobj.h codeobj.h registerobj.h functionobj.h \ |
| 207 |
listobj.h intobj.h bytesobj.h bitsobj.h dictobj.h addressobj.h gapobj.h \ |
| 208 |
typeobj.h noneobj.h labelobj.h errorobj.h mfuncobj.h symbolobj.h |
| 209 |
wchar.o: wchar.c wchar.h inttypes.h |
| 210 |
|
| 211 |
.PHONY: all clean distclean install install-strip uninstall |
| 212 |
|
| 213 |
clean: |
| 214 |
-$(RM) $(OBJS) |
| 215 |
|
| 216 |
distclean: clean |
| 217 |
-$(RM) $(TARGET) |
| 218 |
|
| 219 |
install: $(TARGET) |
| 220 |
install -D $(TARGET) $(BINDIR)/$(TARGET) |
| 221 |
|
| 222 |
install-strip: $(TARGET) |
| 223 |
install -D -s $(TARGET) $(BINDIR)/$(TARGET) |
| 224 |
|
| 225 |
uninstall: |
| 226 |
-$(RM) $(BINDIR)/$(TARGET) |