21 lines
365 B
Makefile
21 lines
365 B
Makefile
OLDBINS = echo.bin
|
|
BINS = dec2hex.bin hex2dec.bin echo.bin rot13.bin
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .asm .bin
|
|
|
|
most: $(BINS)
|
|
|
|
all: $(BINS) $(OLDBINS)
|
|
|
|
.asm.bin:
|
|
nasm -fbin -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.bin
|
|
|
|
install: $(BINS)
|
|
@test -n "$(DISKIMG)" || { echo "DISKIMG not set, point at EttinOS disk image." >&2; exit 1; }
|
|
mcopy -o -i "$(DISKIMG)" $(BINS) ::
|
|
|
|
.PHONY: all clean
|