summaryrefslogtreecommitdiffstats
path: root/src/makefile
blob: 6045de28b2d53d0bcc8b241f9a6683d23cbc055f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ROOTPATH = ..
IMGDIR = ${ROOTPATH}/img
OBJDIR = ${ROOTPATH}/obj/hbicore

SUBDIRS = kernel.d lib.d libc++.d sys.d bld.d
IMAGES += ${IMGDIR}/hbicore.elf 
IMAGES += ${IMGDIR}/hbicore.bin

all: ${SUBDIRS}
	${MAKE} ${IMAGES}

clean: $(patsubst %.d,%.clean, ${SUBDIRS})
	(rm -f ${IMAGES} $(addsuffix .map, ${IMAGES}) )

include ../config.mk
OpenPOWER on IntegriCloud