projects
/
swan-dev
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d1f043e2147fedb4c3f3e9889d086b40ebc09120
[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