aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-26 06:36:09 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-26 06:36:09 -0400
commitf919899bed45f6303637435850aa26ad37203f68 (patch)
treeabc22dbde98dfe3674e9786217fac08be0bd1332 /Makefile
parent4c76499fb080ab74684057e99b46f990d5605ade (diff)
downloadfujinet-chat-f919899bed45f6303637435850aa26ad37203f68.tar.gz
Fix atasm compatibility. We can now build with versions of atasm as old as 1.05beta (from November of 2003).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 88fd65d..f61df43 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ TESTXEX=fnchat-$(shell date +%Y%m%d-%H%M).xex
VERSION:=$(shell git describe --dirty --long 2>/dev/null || echo NOGIT )+$(shell date +%Y%m%d-%H%M )@$(shell hostname -s 2>/dev/null || echo UNKNOWN )
-# remove the -a if using older versions of atasm
-ATASM=atasm -s -a
+ATASM=atasm
+ATASMFLAGS=-s
all: clean fnchat.xex
[ -d /var/tnfs ] && cp fnchat.xex /var/tnfs/ || true
@@ -26,15 +26,15 @@ clean:
$(MAKE) -f Makefile.client clean
%.xex: %.asm
- $(ATASM) -o$@ $<
+ $(ATASM) $(ATASMFLAGS) -o$@ $<
memsetup.xex: memsetup.asm
loading1.xex: loading.asm
- $(ATASM) -o$@ $<
+ $(ATASM) $(ATASMFLAGS) -o$@ $<
loading2.xex: loading.asm
- $(ATASM) -o$@ -DCLIENT=1 $<
+ $(ATASM) $(ATASMFLAGS) -o$@ -DCLIENT=1 $<
font_dl.xex: font_dl.asm font.dat