about summary refs log tree commit diff
path: root/Makefile.new
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T14·54+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T14·54+0100
commitb8e9efc476abc248a17c9e9cd117f3d53e4a7f63 (patch)
tree3529e1c6b88983e26290d4c72aa0d3274aeb6375 /Makefile.new
parent709cbe4e76e7b0f1b8abddbeb7714e194f6f8a02 (diff)
New non-recursive, plain Make-based build system
Diffstat (limited to 'Makefile.new')
-rw-r--r--Makefile.new22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile.new b/Makefile.new
new file mode 100644
index 000000000000..566f1f7be5dd
--- /dev/null
+++ b/Makefile.new
@@ -0,0 +1,22 @@
+include Makefile.config
+include Makefile.lib
+
+include src/boost/format/Makefile.new
+include src/libutil/Makefile.new
+include src/libstore/Makefile.new
+include src/libmain/Makefile.new
+include src/libexpr/Makefile.new
+include src/nix-hash/Makefile.new
+include src/nix-store/Makefile.new
+include src/nix-instantiate/Makefile.new
+include src/nix-env/Makefile.new
+include src/nix-daemon/Makefile.new
+
+CXXFLAGS = -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
+
+CFLAGS =
+
+$(foreach lib, $(LIBS), $(eval $(call LIBS_template,$(lib))))
+$(foreach prog, $(PROGRAMS), $(eval $(call PROGRAMS_template,$(prog))))
+
+all: $(programs_list)