File:  [Isaki's NoNo m68k/m88k emulator] / nono / exp / optestxp / Makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:20 2026 UTC (3 months ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, v025, v024, v023, v022, v021, v020, v019, v018, HEAD
nono 0.6.0

#
# nono
# Copyright (C) 2023 nono project
# Licensed under nono-license.txt
#

TOPDIR=		../..
.include "${TOPDIR}/Makefile.cfg"

CXXFLAGS=	\
			-I${TOPDIR}	\
			-I${TOPDIR}/lib	\

all:	optest.com daatest.com

optest.com:	optest.z80
	perl ${TOPDIR}/util/runcom/z80tocom.pl $> $@

optest.z80:	optest.asm
	z80-asm $> 0100:$@

optest.asm:	gen.asm subr.asm
	-rm -f $@
	cat $> > $@

gen.asm:	optestxp_gen
	-rm -f $@
	./optestxp_gen > $@

optestxp_gen:	optestxp_gen.o optestxp_subr.o ${TOPDIR}/lib/libnnlib.a
	${CXX} ${LDFLAGS} -o $@ $> ${LIBS}

optestxp_gen.o:	optestxp_gen.cpp
	${CXX} ${CXXFLAGS} -c $>

optestxp_subr.o:	optestxp_subr.cpp
	${CXX} ${CXXFLAGS} -c $>


daatest.com:	daatest.z80
	perl ${TOPDIR}/util/runcom/z80tocom.pl $> $@

daatest.z80:	daatest.asm
	z80-asm $> 0100:$@

daatest.asm: gendaa.asm subr.asm
	-rm -f $@
	cat $> > $@

gendaa.asm:	daatest_gen
	-rm -f $@
	./daatest_gen > $@

daatest_gen:	daatest_gen.o optestxp_subr.o ${TOPDIR}/lib/libnnlib.a
	${CXX} ${LDFLAGS} -o $@ $> ${LIBS}

daatest_gen.o:	daatest_gen.cpp
	${CXX} ${CXXFLAGS} -c $>

.PHONY:	clean
clean:
	rm -f optest.z80 optest.asm gen.asm daatest.z80 daatest.asm gendaa.asm
	rm -f optestxp_gen daatest_gen *.o

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.