WTFStopW : a simple stopwatch
nasm
x86-64
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 322B

12345678910111213141516171819
  1. NASM=nasm
  2. ASFLAGS=-felf64
  3. LDFLAGS=-s -melf_x86_64
  4. # To build with debugging symbols
  5. #ASFLAGS=-felf64 -F dwarf -g
  6. #LDFLAGS=-melf_x86_64
  7. all: wtfstopw
  8. wtfstopw: wtfstopw.o
  9. ld $(LDFLAGS) wtfstopw.o -o wtfstopw
  10. wtfstopw.o: wtfstopw.asm
  11. $(NASM) $(ASFLAGS) wtfstopw.asm
  12. .PHONY: clean
  13. clean:
  14. -rm -fv wtfstopw wtfstopw.o