back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: ddcbcbab7655fdd05ac10a1ea9f64f82b2a28ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 $@