Move all of the files in include/libc/... down to the top level include path.
[newos.git] / makefile
blob412060831e2336489ba1c104a41b13329c555085
2 # figures out the system
3 include make.syscfg
5 # include top level macros
6 include macros.mk
8 # sub-makefiles have to fill these in
9 ALL_DEPS =
10 CLEAN =
11 FINAL =
12 TOOLS =
13 ALL_OBJS =
15 # includes the config of the build
16 include make.config
17 include make.config.$(ARCH)
19 final: $(FINAL)
21 include apps/makefile
22 include kernel/makefile
23 include kernel/addons/makefile
24 include tools/makefile
25 include lib/makefile
26 include boot/$(ARCH)/makefile
28 clean: $(CLEAN)
29 rm -f $(ALL_OBJS)
30 rm -f $(ALL)
31 rm -f $(FINAL)
33 depsclean:
34 rm -f $(ALL_DEPS)
36 appsclean:
37 rm -rf $(APPS_BUILD_DIR)
39 allclean: depsclean clean
40 rm -f $(TOOLS)
42 spotless:
43 rm -rf $(BUILD_DIR)
45 #$(warning ALL_OBJS = $(ALL_OBJS))
46 #$(warning ALL_DEPS = $(ALL_DEPS))
48 ifeq ($(filter $(MAKECMDGOALS), allclean), )
49 -include $(ALL_DEPS)
50 endif