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
/
hal
/
Makefile
1
CC= gcc
2
CFLAGS= -Wall -imacros ../defines -I../inc
3
OBJS= video.o io.o interrupts.o intsupport.o keyboard.o timer.o \
4
timestamp.o counters.o
5
RM= /bin/rm
6
NASM= nasm
7
NASMFLAGS= -f elf
8
9
.SUFFIXES: .c .o .asm
10
11
all: $(OBJS)
12
13
.c.o:
14
$(CC) $(CFLAGS) -c $<
15
16
.asm.o:
17
$(NASM) $(NASMFLAGS) -o $*.o $<
18
19
clean:
20
$(RM) -f $(OBJS) *~ #*# .#*