From 1f274c0dd14e79370c7df1e743bec5326d3fe6a4 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Wed, 23 Aug 2017 16:03:14 +0800 Subject: [PATCH] Makefile: print a message by default, instead of cleaning everything --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42dc6c4..b938549 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -include nemu/Makefile.git + +defalut: + @echo "Please run 'make' under any subprojects to compile." clean: -$(MAKE) -C nemu clean @@ -10,4 +13,4 @@ submit: clean git gc cd .. && tar cj $(shell basename `pwd`) > $(STU_ID).tar.bz2 -.PHONY: clean submit +.PHONY: default clean submit