Displaying ./code/asm2/MakefileASM = nasm LNK = ld ASFLAGS = -f elf LDFLAGS = -m elf_i386 all: hello-inc hello hello-inc: helloworld-inc.o $(LNK) $(LDFLAGS) helloworld-inc.o -o $@ hello: helloworld.o $(LNK) $(LDFLAGS) helloworld.o -o $@ helloworld-inc.o: helloworld-inc.asm functions.asm $(ASM) $(ASFLAGS) helloworld-inc.asm helloworld.o: helloworld.asm $(ASM) $(ASFLAGS) helloworld.asm clean: rm -f *.o helloworld hello-inc |