diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build/makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/build/makefile b/src/build/makefile index d80e2b533..65042ad2b 100644 --- a/src/build/makefile +++ b/src/build/makefile @@ -1,7 +1,9 @@ -linker: linker.C - g++ -O3 -g linker.C -o linker -lbfd -I../include/sys +ROOTPATH = ../.. -all: linker +SUBDIRS = linker.d -clean: - (rm -f linker) +all: ${SUBDIRS} + +clean: $(patsubst %.d,%.clean, ${SUBDIRS}) + +include ${ROOTPATH}/config.mk |