figa is now figasm #3

Merged
chic_luke merged 1 commits from alecs/figasm:master into master 2021-05-14 21:49:09 +02:00
Showing only changes of commit 4b5760f11b - Show all commits

View File

@ -1,22 +1,23 @@
PREFIX ?= /usr PREFIX ?= /usr
FILE = figa FILE = figa
EXEC = figasm
all: all:
@as -o $(FILE).o $(FILE).s @as -o $(FILE).o $(FILE).s
@ld -o $(FILE) $(FILE).o @ld -o $(EXEC) $(FILE).o
clean: clean:
@rm $(FILE).o @rm $(FILE).o
@rm $(FILE) @rm $(EXEC)
install: install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin @mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -p figa $(DESTDIR)$(PREFIX)/bin/figa @cp -p $(EXEC) $(DESTDIR)$(PREFIX)/bin/figasm
uninstall: uninstall:
@rm $(DESTDIR)$(PREFIX)/bin/figa @rm $(DESTDIR)$(PREFIX)/bin/figasm
debug: debug:
@as -g -o $(FILE).o $(FILE).s @as -g -o $(FILE).o $(FILE).s
@ld -o $(FILE) $(FILE).o @ld -o $(EXEC) $(FILE).o