From b5f0874cd96ee2a62aabc645b9626c2749cb6a01 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 26 Mar 2012 12:54:45 +0200 Subject: initial pintos checkin --- pintos-progos/Makefile.kernel | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pintos-progos/Makefile.kernel (limited to 'pintos-progos/Makefile.kernel') diff --git a/pintos-progos/Makefile.kernel b/pintos-progos/Makefile.kernel new file mode 100644 index 0000000..162a411 --- /dev/null +++ b/pintos-progos/Makefile.kernel @@ -0,0 +1,20 @@ +# -*- makefile -*- + +all: + +include Make.vars + +DIRS = $(sort $(addprefix build/,$(KERNEL_SUBDIRS) $(TEST_SUBDIRS) lib/user)) + +all grade check: $(DIRS) build/Makefile + cd build && $(MAKE) $@ +$(DIRS): + mkdir -p $@ +build/Makefile: ../Makefile.build + cp $< $@ + +build/%: $(DIRS) build/Makefile + cd build && $(MAKE) $* + +clean: + rm -rf build -- cgit v1.2.3