OBJS = madlib all: ${OBJS} AS = nasm %: %.asm ${AS} -f elf64 -g $< -o $@.o ld -g $@.o -o $@ @rm $@.o clean: rm ${OBJS} *.o