call to main
[swan-dev] / Makefile
1 # simple makefile
2 INC=./inc
3 CC=bcc
4 LD=ld86
5 AS=nasm
6
7 #$(LD) -M src/*.o
8
9 all:
10         $(LD) src/*.o -d -s -o test.wsc
11
12 # use -x to for -ffreestanding
13 c-files:
14         $(CC) -O -c src/*.c
15 init:
16         $(AS) -fas86 src/*.s -i $(INC)
17
18 clean:
19         rm -rf src/*.o test.wsc
20
21