initial commit
This commit is contained in:
10
Makefile
Normal file
10
Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user