Serenity Operating System
at hosted 38 lines 535 B view raw
1SUBDIRS += \ 2 Libraries \ 3 AK \ 4 DevTools \ 5 Servers 6 7SUBDIRS += \ 8 Applications \ 9 Kernel \ 10 MenuApplets \ 11 Shell \ 12 Userland 13 14SUBDIRS += \ 15 Games \ 16 Demos 17 18ifneq (, $(shell which ccache 2>/dev/null)) 19 export PRE_CXX=ccache 20endif 21 22ifeq ($(HOSTED),1) 23 SUBDIRS := $(filter-out Kernel Userland,$(SUBDIRS)) 24endif 25 26include Makefile.subdir 27 28all: subdirs 29 30.PHONY: test 31UNAME_S := $(shell uname -s) 32ifeq ($(UNAME_S),Darwin) 33test: 34else 35test: 36 $(QUIET) flock AK/Tests -c "$(MAKE) -C AK/Tests clean all && $(MAKE) -C AK/Tests clean" 37endif 38