back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-03-27 22:38:51 +0300
committerscratko <m@scratko.xyz>2024-03-27 22:38:51 +0300
commit21f616b5593d87d6381c1f3d67a3df0c442dba44 (patch)
tree28eba727b41d4d6b6b273ba3f7e81a4793d56e84 /Makefile
downloadtrigonometric-table-21f616b5593d87d6381c1f3d67a3df0c442dba44.tar.gz
trigonometric-table-21f616b5593d87d6381c1f3d67a3df0c442dba44.tar.bz2
trigonometric-table-21f616b5593d87d6381c1f3d67a3df0c442dba44.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ddcbcba
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+ASM = nasm
+ASMFLAGS = -f elf
+
+BUILDFLAGS = -m elf_i386
+
+%.o: %.asm
+ $(ASM) $(ASMFLAGS) $<
+
+OBJMODULES = string_conversion.o validations.o compute_functions.o number_conversion.o \
+ trigonometric_table.o
+
+trigonometric_table: $(OBJMODULES)
+ $(LD) $(BUILDFLAGS) $^ -o $@