]> Nishi Git Mirror - rbuild.git/commitdiff
stuff
authorNishi <nishi@nishi.boats>
Fri, 11 Oct 2024 14:05:59 +0000 (14:05 +0000)
committerNishi <nishi@nishi.boats>
Fri, 11 Oct 2024 14:05:59 +0000 (14:05 +0000)
git-svn-id: file:///raid/svn-personal/rbuild/trunk@3 c68d3453-7f82-0740-9748-1d72386a946b

Client/Makefile [new file with mode: 0644]
Common/Makefile [new file with mode: 0644]
Makefile [new file with mode: 0644]
Platform/generic.mk [new file with mode: 0644]
Server/Makefile [new file with mode: 0644]

diff --git a/Client/Makefile b/Client/Makefile
new file mode 100644 (file)
index 0000000..b9530bf
--- /dev/null
@@ -0,0 +1,3 @@
+# $Id$
+
+include $(PWD)/Platform/$(PLATFORM).mk
diff --git a/Common/Makefile b/Common/Makefile
new file mode 100644 (file)
index 0000000..b9530bf
--- /dev/null
@@ -0,0 +1,3 @@
+# $Id$
+
+include $(PWD)/Platform/$(PLATFORM).mk
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..bb53fec
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+# $Id$
+
+PLATFORM = generic
+PWD = `pwd`
+
+FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM)
+
+.PHONY: all ./Common ./Server ./Client clean
+
+all: ./Common ./Server ./Client
+
+./Common::
+       $(MAKE) -C $@ $(FLAGS)
+
+./Server:: ./Common
+       $(MAKE) -C $@ $(FLAGS)
+
+./Client:: ./Common
+       $(MAKE) -C $@ $(FLAGS)
+
+clean:
+       $(MAKE) -C ./Common clean
+       $(MAKE) -C ./Server clean
+       $(MAKE) -C ./Client clean
diff --git a/Platform/generic.mk b/Platform/generic.mk
new file mode 100644 (file)
index 0000000..fbbab2d
--- /dev/null
@@ -0,0 +1 @@
+# $Id$
diff --git a/Server/Makefile b/Server/Makefile
new file mode 100644 (file)
index 0000000..b9530bf
--- /dev/null
@@ -0,0 +1,3 @@
+# $Id$
+
+include $(PWD)/Platform/$(PLATFORM).mk