projects
/
swan-dev
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sample: sample asm and tiles file
[swan-dev]
/
Makefile
1
# simple makefile
2
INC=./inc
3
CC=bcc
4
LD=ld86
5
AS=nasm
6
7
all:
8
$(LD) -M src/*.o
9
10
# use -x to for -ffreestanding
11
c-files:
12
$(CC) -O -c src/*.c
13
init:
14
$(AS) -fas86 src/*.s -i $(INC)
15
16
clean:
17
rm -rf src/*.o
18
19