beep beeeeep | you're crushing my apartment with your vehicle, human | so to these asm boughs I shall give my soul to keep | petals, my shroud gently carry me to sleep | murmurs and other tales
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 325B

123456789101112131415161718
  1. NAME=mintx86asm32
  2. ASFLAGS=-g --32
  3. LDFLAGS=-shared -m elf_i386
  4. main: setup mintx86asm32.o link
  5. # Attempt creation of build/ folder if non-existing
  6. setup:
  7. mkdir -p build
  8. mintx86asm32.o:
  9. as $(ASFLAGS) src/$(NAME).s -o build/$(NAME).o
  10. link:
  11. ld $(LDFLAGS) build/$(NAME).o -o build/lib$(NAME).so
  12. clean:
  13. rm -rf build/*