summaryrefslogtreecommitdiffstats
path: root/src/makefile
blob: 4117b79460f56533772f298b5c37fb9ccfe0b5cc (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 usr.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