|
ASMFLAGS =
|
|
CFLAGS = -I lib -O3
|
|
|
|
build: src/strutils.asm src/main.c
|
|
nasm $(ASMFLAGS) -f elf64 -o out/strutils.o src/strutils.asm
|
|
#gcc $(CFLAGS) -o out/main.o -c src/main.c
|
|
#ld -o bin/main out/main.o out/strutils.o
|
|
gcc $(CFLAGS) -o bin/main \
|
|
src/main.c \
|
|
out/strutils.o
|