summaryrefslogtreecommitdiff
path: root/Makefile
blob: 50d1fc59742c9264fbcf3155c5815211988b54b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ARCH?=x86
DESTDIR?=base-system
PREFIX?=/usr

# -- Do not edit below this line --

VERSION:="$(shell git describe --abbrev=4 --dirty --always --tags)"
ARCH:=$(ARCH)
DESTDIR:=base-system/
PREFIX:=/usr/
export ARCH VERSION PREFIX

SUBDIRS:=kernel \
	 bin \
	 lib \
	 sbin \
	 usr.sbin \

.PHONY: all clean install install-headers $(SUBDIRS)

all: $(SUBDIRS)

subdirs: $(SUBDIRS)

$(SUBDIRS):
	$(MAKE) $(MAKECMDGOALS) -C $@

clean: $(SUBDIRS)

install: $(SUBDIRS)