tools: romheader adjusted
[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 # -d delete headers
10 # -s strip symbols
11 all:
12         $(LD) src/*.o -d -s -o test.wsc
13
14 # use -x to for -ffreestanding
15 c-files:
16         $(CC) -O -c src/*.c
17 init:
18         $(AS) -fas86 src/*.s -i $(INC)
19
20 clean:
21         rm -rf src/*.o test.wsc
22
23