From 4b5760f11beff735d50e5dee0b3a9157f1aa92b6 Mon Sep 17 00:00:00 2001 From: alecs Date: Fri, 14 May 2021 21:15:05 +0200 Subject: [PATCH] figa is now figasm --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 49aff48..b53d128 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,23 @@ PREFIX ?= /usr FILE = figa +EXEC = figasm all: @as -o $(FILE).o $(FILE).s - @ld -o $(FILE) $(FILE).o + @ld -o $(EXEC) $(FILE).o clean: @rm $(FILE).o - @rm $(FILE) + @rm $(EXEC) install: @mkdir -p $(DESTDIR)$(PREFIX)/bin - @cp -p figa $(DESTDIR)$(PREFIX)/bin/figa + @cp -p $(EXEC) $(DESTDIR)$(PREFIX)/bin/figasm uninstall: - @rm $(DESTDIR)$(PREFIX)/bin/figa + @rm $(DESTDIR)$(PREFIX)/bin/figasm debug: @as -g -o $(FILE).o $(FILE).s - @ld -o $(FILE) $(FILE).o + @ld -o $(EXEC) $(FILE).o