fix nasm include paths

This commit is contained in:
PoroCYon 2019-11-29 19:57:35 +01:00
parent fa0aa5d314
commit 6aad3109cc
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ obj/4klang.h: $(MUSDIR)/4klang.h obj/
$(SED) -E 's/extern "C"/EXTERN_C/' "$<" > "$@"
obj/4klang.o: obj/4klang.asm obj/4klang.inc
$(NASM) -g -I obj -f elf32 -o "$@" "$<"
$(NASM) -g -I obj/ -f elf32 -o "$@" "$<"
obj/runner.o: src/runner.c obj/4klang.h
$(CC) -g -m32 -o "$@" -c "$<" -I obj

View File

@ -1,6 +1,6 @@
NASM ?= nasm
NASMFLAGS := -DLINUX -felf32 -I obj -I oidos/player/
NASMFLAGS := -DLINUX -felf32 -I obj/ -I oidos/player/
default: all