# $Id: Makefile 2974 2023-01-11 07:16:37Z soci $
OBJS = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
 encoding.o ternary.o file.o values.o variables.o mem.o isnprintf.o macro.o \
 obj.o floatobj.o addressobj.o codeobj.o strobj.o listobj.o boolobj.o bytesobj.o \
 intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
 registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
 longjump.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
 errorobj.o macroobj.o mfuncobj.o symbolobj.o anonsymbolobj.o memblocksobj.o \
 foldobj.o main.o console.o encobj.o
LDLIBS = -lm
LANG = C
VERSION = 1.58
CFLAGS = -O2
LDFLAGS =
TARGET = 64tass
RM = rm -f
RMDIR = rmdir
INSTALL = install -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datarootdir = $(prefix)/share
mandir = $(datarootdir)/man
man1dir = $(mandir)/man1
docdir = $(datarootdir)/doc/$(TARGET)

.SILENT:

$(TARGET): $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@

64tass.o: 64tass.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
 error.h errors_e.h opcodes.h eval.h oper_e.h values.h section.h avl.h \
 str.h encoding.h file.h variables.h macro.h instruction.h unicode.h \
 listing.h optimizer.h arguments.h ternary.h opt_bit.h longjump.h mem.h \
 unicodedata.h main.h version.h listobj.h obj.h codeobj.h strobj.h \
 addressobj.h boolobj.h bytesobj.h intobj.h bitsobj.h functionobj.h \
 namespaceobj.h operobj.h gapobj.h typeobj.h noneobj.h registerobj.h \
 labelobj.h errorobj.h macroobj.h mfuncobj.h memblocksobj.h symbolobj.h \
 dictobj.h encobj.h
addressobj.o: addressobj.c addressobj.h obj.h attributes.h inttypes.h \
 values.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \
 arguments.h instruction.h boolobj.h strobj.h intobj.h typeobj.h \
 noneobj.h errorobj.h floatobj.h bitsobj.h bytesobj.h registerobj.h
anonsymbolobj.o: anonsymbolobj.c anonsymbolobj.h obj.h attributes.h \
 inttypes.h eval.h stdbool.h oper_e.h values.h typeobj.h strobj.h
arguments.o: arguments.c arguments.h stdbool.h inttypes.h 64tass.h \
 attributes.h wait_e.h opcodes.h my_getopt.h error.h errors_e.h unicode.h \
 version.h
avl.o: avl.c avl.h attributes.h stdbool.h
bitsobj.o: bitsobj.c bitsobj.h obj.h attributes.h inttypes.h oper_e.h \
 math.h eval.h stdbool.h variables.h unicode.h error.h errors_e.h \
 arguments.h codeobj.h values.h boolobj.h floatobj.h strobj.h bytesobj.h \
 intobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \
 avl.h
boolobj.o: boolobj.c boolobj.h obj.h attributes.h inttypes.h stdbool.h \
 eval.h oper_e.h error.h errors_e.h variables.h arguments.h floatobj.h \
 values.h strobj.h bitsobj.h intobj.h typeobj.h errorobj.h noneobj.h \
 functionobj.h
bytesobj.o: bytesobj.c bytesobj.h obj.h attributes.h inttypes.h math.h \
 eval.h stdbool.h oper_e.h unicode.h variables.h arguments.h error.h \
 errors_e.h boolobj.h floatobj.h values.h codeobj.h intobj.h strobj.h \
 bitsobj.h listobj.h typeobj.h noneobj.h errorobj.h addressobj.h encobj.h \
 avl.h
codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
 eval.h stdbool.h oper_e.h mem.h 64tass.h wait_e.h section.h avl.h str.h \
 variables.h error.h errors_e.h arguments.h boolobj.h floatobj.h \
 namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h gapobj.h \
 typeobj.h noneobj.h errorobj.h memblocksobj.h symbolobj.h addressobj.h \
 strobj.h
console.o: console.c console.h stdbool.h
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
 stdbool.h oper_e.h error.h errors_e.h variables.h intobj.h listobj.h \
 values.h strobj.h boolobj.h typeobj.h noneobj.h errorobj.h symbolobj.h \
 str.h
encobj.o: encobj.c encobj.h obj.h attributes.h inttypes.h stdbool.h avl.h \
 errors_e.h values.h ternary.h str.h error.h 64tass.h wait_e.h encoding.h \
 unicode.h eval.h oper_e.h typeobj.h strobj.h bytesobj.h bitsobj.h \
 errorobj.h functionobj.h
encoding.o: encoding.c encoding.h stdbool.h error.h attributes.h \
 errors_e.h inttypes.h ternary.h values.h 64tass.h wait_e.h str.h \
 encobj.h obj.h avl.h
error.o: error.c error.h attributes.h stdbool.h errors_e.h inttypes.h \
 file.h 64tass.h wait_e.h unicode.h eval.h oper_e.h arguments.h opcodes.h \
 section.h avl.h str.h macro.h strobj.h obj.h addressobj.h values.h \
 registerobj.h namespaceobj.h operobj.h typeobj.h labelobj.h errorobj.h \
 noneobj.h symbolobj.h anonsymbolobj.h console.h
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
 errors_e.h oper_e.h stdbool.h eval.h values.h error.h 64tass.h wait_e.h \
 file.h macro.h typeobj.h registerobj.h namespaceobj.h
eval.o: eval.c eval.h attributes.h inttypes.h stdbool.h oper_e.h math.h \
 section.h avl.h str.h variables.h 64tass.h wait_e.h unicode.h error.h \
 errors_e.h values.h arguments.h optimizer.h unicodedata.h floatobj.h \
 obj.h boolobj.h intobj.h bitsobj.h strobj.h codeobj.h bytesobj.h \
 addressobj.h listobj.h dictobj.h registerobj.h namespaceobj.h operobj.h \
 gapobj.h typeobj.h noneobj.h labelobj.h errorobj.h symbolobj.h \
 anonsymbolobj.h foldobj.h memblocksobj.h functionobj.h
file.o: file.c file.h stdbool.h inttypes.h wchar.h 64tass.h attributes.h \
 wait_e.h unicode.h error.h errors_e.h arguments.h unicodedata.h avl.h \
 str.h main.h
floatobj.o: floatobj.c floatobj.h obj.h attributes.h inttypes.h values.h \
 math.h error.h stdbool.h errors_e.h eval.h oper_e.h variables.h \
 arguments.h boolobj.h codeobj.h strobj.h bytesobj.h intobj.h bitsobj.h \
 operobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h
foldobj.o: foldobj.c foldobj.h obj.h attributes.h inttypes.h values.h \
 eval.h stdbool.h oper_e.h typeobj.h strobj.h errorobj.h errors_e.h \
 boolobj.h
functionobj.o: functionobj.c functionobj.h obj.h attributes.h inttypes.h \
 math.h isnprintf.h eval.h stdbool.h oper_e.h variables.h error.h \
 errors_e.h file.h arguments.h instruction.h 64tass.h wait_e.h section.h \
 avl.h str.h floatobj.h values.h strobj.h listobj.h intobj.h boolobj.h \
 typeobj.h noneobj.h errorobj.h bytesobj.h dictobj.h addressobj.h
gapobj.o: gapobj.c gapobj.h obj.h attributes.h inttypes.h eval.h \
 stdbool.h oper_e.h variables.h values.h strobj.h boolobj.h typeobj.h
instruction.o: instruction.c instruction.h attributes.h stdbool.h \
 inttypes.h opcodes.h 64tass.h wait_e.h section.h avl.h str.h file.h \
 listing.h error.h errors_e.h longjump.h arguments.h optimizer.h \
 addressobj.h obj.h values.h listobj.h registerobj.h codeobj.h typeobj.h \
 noneobj.h errorobj.h oper_e.h memblocksobj.h eval.h
intobj.o: intobj.c intobj.h obj.h attributes.h inttypes.h math.h \
 unicode.h stdbool.h error.h errors_e.h eval.h oper_e.h variables.h \
 arguments.h boolobj.h floatobj.h values.h codeobj.h strobj.h bytesobj.h \
 bitsobj.h typeobj.h noneobj.h errorobj.h addressobj.h functionobj.h \
 encobj.h avl.h
isnprintf.o: isnprintf.c isnprintf.h attributes.h inttypes.h unicode.h \
 stdbool.h eval.h oper_e.h error.h errors_e.h str.h floatobj.h obj.h \
 values.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h
labelobj.o: labelobj.c labelobj.h obj.h attributes.h inttypes.h str.h \
 stdbool.h values.h error.h errors_e.h unicode.h file.h strobj.h \
 typeobj.h
listing.o: listing.c listing.h attributes.h inttypes.h stdbool.h file.h \
 error.h errors_e.h 64tass.h wait_e.h opcodes.h unicode.h section.h avl.h \
 str.h instruction.h obj.h values.h arguments.h macro.h version.h
listobj.o: listobj.c listobj.h obj.h attributes.h inttypes.h values.h \
 stdbool.h eval.h oper_e.h variables.h error.h errors_e.h boolobj.h \
 codeobj.h strobj.h intobj.h typeobj.h noneobj.h errorobj.h foldobj.h
longjump.o: longjump.c longjump.h avl.h attributes.h stdbool.h inttypes.h \
 error.h errors_e.h
macro.o: macro.c macro.h inttypes.h wait_e.h stdbool.h file.h eval.h \
 attributes.h oper_e.h values.h section.h avl.h str.h variables.h \
 64tass.h listing.h error.h errors_e.h arguments.h optimizer.h main.h \
 listobj.h obj.h typeobj.h noneobj.h namespaceobj.h labelobj.h macroobj.h \
 mfuncobj.h memblocksobj.h functionobj.h
macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
 stdbool.h values.h eval.h oper_e.h error.h errors_e.h file.h typeobj.h \
 namespaceobj.h intobj.h noneobj.h errorobj.h
main.o: main.c main.h stdbool.h wchar.h inttypes.h error.h attributes.h \
 errors_e.h unicode.h console.h 64tass.h wait_e.h
math.o: math.c math.h
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
 inttypes.h stdbool.h values.h error.h errors_e.h section.h avl.h str.h \
 unicode.h arguments.h version.h typeobj.h
mem.o: mem.c mem.h attributes.h inttypes.h error.h stdbool.h errors_e.h \
 unicode.h 64tass.h wait_e.h listing.h arguments.h values.h \
 memblocksobj.h obj.h
mfuncobj.o: mfuncobj.c mfuncobj.h obj.h attributes.h inttypes.h str.h \
 stdbool.h values.h eval.h oper_e.h error.h errors_e.h macro.h wait_e.h \
 file.h typeobj.h namespaceobj.h listobj.h
my_getopt.o: my_getopt.c my_getopt.h stdbool.h unicode.h attributes.h \
 inttypes.h error.h errors_e.h
namespaceobj.o: namespaceobj.c namespaceobj.h obj.h attributes.h \
 inttypes.h variables.h stdbool.h eval.h oper_e.h error.h errors_e.h \
 arguments.h 64tass.h wait_e.h listobj.h values.h strobj.h typeobj.h \
 noneobj.h labelobj.h str.h errorobj.h symbolobj.h anonsymbolobj.h \
 codeobj.h macroobj.h mfuncobj.h boolobj.h
noneobj.o: noneobj.c noneobj.h obj.h attributes.h inttypes.h eval.h \
 stdbool.h oper_e.h typeobj.h errorobj.h errors_e.h
obj.o: obj.c obj.h attributes.h inttypes.h eval.h stdbool.h oper_e.h \
 values.h boolobj.h floatobj.h strobj.h macroobj.h str.h intobj.h \
 listobj.h namespaceobj.h addressobj.h codeobj.h registerobj.h bytesobj.h \
 bitsobj.h functionobj.h dictobj.h operobj.h gapobj.h typeobj.h noneobj.h \
 labelobj.h errorobj.h errors_e.h mfuncobj.h symbolobj.h anonsymbolobj.h \
 memblocksobj.h foldobj.h encobj.h avl.h
opcodes.o: opcodes.c opcodes.h inttypes.h
operobj.o: operobj.c operobj.h obj.h attributes.h inttypes.h oper_e.h \
 strobj.h stdbool.h typeobj.h
opt_bit.o: opt_bit.c opt_bit.h stdbool.h attributes.h error.h errors_e.h \
 inttypes.h
optimizer.o: optimizer.c optimizer.h inttypes.h stdbool.h error.h \
 attributes.h errors_e.h section.h avl.h str.h opcodes.h opt_bit.h \
 macro.h wait_e.h
registerobj.o: registerobj.c registerobj.h obj.h attributes.h inttypes.h \
 stdbool.h eval.h oper_e.h variables.h values.h strobj.h typeobj.h \
 errorobj.h errors_e.h addressobj.h intobj.h error.h
section.o: section.c section.h avl.h attributes.h stdbool.h str.h \
 inttypes.h unicode.h error.h errors_e.h 64tass.h wait_e.h values.h \
 intobj.h obj.h longjump.h optimizer.h eval.h oper_e.h memblocksobj.h
str.o: str.c str.h inttypes.h unicode.h attributes.h stdbool.h error.h \
 errors_e.h arguments.h
strobj.o: strobj.c strobj.h obj.h attributes.h inttypes.h stdbool.h \
 eval.h oper_e.h unicode.h error.h errors_e.h variables.h arguments.h \
 str.h boolobj.h bytesobj.h intobj.h bitsobj.h listobj.h values.h \
 typeobj.h noneobj.h errorobj.h
symbolobj.o: symbolobj.c symbolobj.h obj.h attributes.h inttypes.h str.h \
 stdbool.h eval.h oper_e.h unicode.h error.h errors_e.h file.h values.h \
 arguments.h typeobj.h strobj.h
ternary.o: ternary.c ternary.h stdbool.h inttypes.h unicode.h \
 attributes.h error.h errors_e.h
typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
 variables.h eval.h oper_e.h strobj.h functionobj.h
unicodedata.o: unicodedata.c unicodedata.h inttypes.h attributes.h
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
 unicodedata.h str.h console.h error.h errors_e.h
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
 stdbool.h error.h errors_e.h strobj.h typeobj.h
variables.o: variables.c variables.h stdbool.h inttypes.h unicode.h \
 attributes.h 64tass.h wait_e.h file.h obj.h error.h errors_e.h values.h \
 arguments.h eval.h oper_e.h boolobj.h floatobj.h namespaceobj.h strobj.h \
 codeobj.h registerobj.h functionobj.h listobj.h intobj.h bytesobj.h \
 bitsobj.h dictobj.h addressobj.h gapobj.h typeobj.h noneobj.h labelobj.h \
 str.h errorobj.h mfuncobj.h
wchar.o: wchar.c wchar.h inttypes.h

.PHONY: all clean distclean install install-strip uninstall install-man install-doc

clean:
	-$(RM) $(OBJS)

distclean: clean
	-$(RM) $(TARGET)

install-man:
	-$(INSTALL) -d $(DESTDIR)$(man1dir)
	-$(INSTALL_DATA) $(TARGET).1 $(DESTDIR)$(man1dir)/$(TARGET).1
	-gzip -9f $(DESTDIR)$(man1dir)/$(TARGET).1

install-doc:
	-$(INSTALL) -d $(DESTDIR)$(docdir)
	-$(INSTALL_DATA) LICENSE-GPL-2.0 LICENSE-LGPL-2.0 LICENSE-LGPL-2.1 LICENSE-my_getopt README README.md README.html NEWS $(DESTDIR)$(docdir)

install: $(TARGET) install-man install-doc
	-$(INSTALL) -d $(DESTDIR)$(bindir)
	$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)

install-strip: $(TARGET) install-man install-doc
	-$(INSTALL) -d $(DESTDIR)$(bindir)
	$(INSTALL_PROGRAM) -s $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)

uninstall:
	-$(RM) $(DESTDIR)$(bindir)/$(TARGET)
	-$(RM) $(DESTDIR)$(man1dir)/$(TARGET).1
	-$(RM) $(DESTDIR)$(man1dir)/$(TARGET).1.gz
	-$(RM) $(DESTDIR)$(docdir)/LICENSE-GPL-2.0
	-$(RM) $(DESTDIR)$(docdir)/LICENSE-LGPL-2.0
	-$(RM) $(DESTDIR)$(docdir)/LICENSE-LGPL-2.1
	-$(RM) $(DESTDIR)$(docdir)/LICENSE-my_getopt
	-$(RM) $(DESTDIR)$(docdir)/README
	-$(RM) $(DESTDIR)$(docdir)/README.md
	-$(RM) $(DESTDIR)$(docdir)/README.html
	-$(RM) $(DESTDIR)$(docdir)/NEWS
	-$(RMDIR) $(DESTDIR)$(docdir)
