Sorting source tree a bit
[tpg/acess2.git] / KernelLand / Kernel / drv / Makefile
1 # Acess2 Module/Driver Templater Makefile
2 # Makefile.tpl
3
4 -include ../../Makefile.cfg
5
6 CPPFLAGS = -I../include -I../arch/$(ARCHDIR)/include -DARCH=$(ARCH) -DBUILD_MODULE
7 CFLAGS = -Wall -Werror $(CPPFLAGS)
8
9 .PHONY: all clean
10
11 all: bochsvbe.kmd
12
13 %.kmd: %.o
14         $(CC) -shared -nostdlib -o $@ $<
15
16 %.o: %.c
17         $(CC) $(CFLAGS) -o $@ -c $<
18
19 #ata_x86.kmd: ata_x86.o
20 #bochsvbe.kmd: bochsvbe.o

UCC git Repository :: git.ucc.asn.au