projects
/
os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial checkin of toy OS project.
[os.git]
/
kernel
/
init
/
Makefile
1
CC= gcc
2
CFLAGS= -Wall -imacros ../defines -I../inc
3
OBJS= main.o entry.o
4
RM= /bin/rm
5
NASM= nasm
6
NASMFLAGS= -f elf
7
8
.SUFFIXES: .c .asm .o
9
10
all: $(OBJS)
11
12
.c.o:
13
$(CC) $(CFLAGS) -c $<
14
15
.asm.o:
16
$(NASM) $(NASMFLAGS) -o $*.o $<
17
18
clean:
19
$(RM) -f $(OBJS) *~ #*# .#*
20