back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 $@