projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework makefiles to work with older make.
[pintos-anon]
/
src
/
Makefile.kernel
diff --git
a/src/Makefile.kernel
b/src/Makefile.kernel
index 91146a844925c29edf1fa48bac2403986cbcb4c8..181eb23da70f61491b8cd96578bba7f800180eb0 100644
(file)
--- a/
src/Makefile.kernel
+++ b/
src/Makefile.kernel
@@
-1,6
+1,8
@@
-include Makefile.vars
+# -*- makefile -*-
+
+include Make.vars
BUILD_SUBDIRS = $(addprefix build/, $(SUBDIRS))
BUILD_SUBDIRS = $(addprefix build/, $(SUBDIRS))
-LN = ln
+CP = cp
MKDIR = mkdir
all: build build/Makefile $(BUILD_SUBDIRS)
MKDIR = mkdir
all: build build/Makefile $(BUILD_SUBDIRS)
@@
-11,7
+13,7
@@
$(BUILD_SUBDIRS):
build:
$(MKDIR) $@
build/Makefile: ../Makefile.build
build:
$(MKDIR) $@
build/Makefile: ../Makefile.build
- $(
LN) -f
$< $@
+ $(
CP)
$< $@
clean:
rm -rf build
clean:
rm -rf build