initial commit

This commit is contained in:
2024-09-15 16:53:50 +03:00
commit 1bff04e860
4 changed files with 108 additions and 0 deletions

10
Makefile Normal file
View 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