# simple makefile INC=./inc CC=bcc LD=ld86 AS=nasm #$(LD) -M src/*.o all: $(LD) src/*.o -d -s -o test.wsc # use -x to for -ffreestanding c-files: $(CC) -O -c src/*.c init: $(AS) -fas86 src/*.s -i $(INC) clean: rm -rf src/*.o test.wsc