diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-05-18 13:51:26 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-05-18 13:51:26 -0500 |
commit | 9ea98f274e18a3407ce109a331553e1c910274d9 (patch) | |
tree | d1b5b14ed355188b31457733d34dfdd812910afd /src/makefile | |
parent | a5715803fd096bd223b6afd8b26d8efbb96239d4 (diff) | |
download | talos-hostboot-9ea98f274e18a3407ce109a331553e1c910274d9.tar.gz talos-hostboot-9ea98f274e18a3407ce109a331553e1c910274d9.zip |
Improve make infrastructure.
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile new file mode 100644 index 000000000..3247e581e --- /dev/null +++ b/src/makefile @@ -0,0 +1,13 @@ +IMGDIR = ../img +OBJDIR = ../obj +include ../config.mk + +SUBDIRS = kernel.d +IMAGES += ${IMGDIR}/kernel.elf +IMAGES += ${IMGDIR}/kernel.bin + +all: ${SUBDIRS} + ${MAKE} ${IMAGES} + +clean: $(patsubst %.d,%.clean, ${SUBDIRS}) + (rm -f ${IMAGES} ) |