Makefile 181 B

123456
  1. all:
  2. nasm -f elf ./hello.asm -o ./build/hello.o
  3. i686-elf-gcc -g -T ./linker.ld -o ./hello.bin -ffreestanding -O0 -nostdlib -fpic -g ./build/hello.o
  4. clean:
  5. rm -rf ./build/hello.o