aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/serial_link/cgreen/Makefile38
-rw-r--r--quantum/serial_link/cgreen/Makefile.build33
m---------quantum/serial_link/cgreen/cgreen0
3 files changed, 0 insertions, 71 deletions
diff --git a/quantum/serial_link/cgreen/Makefile b/quantum/serial_link/cgreen/Makefile
deleted file mode 100644
index 6b31a3f92..000000000
--- a/quantum/serial_link/cgreen/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
1# This Makefile ensures that the build is made out of source in a subdirectory called 'build'
2# If it doesn't exist, it is created and a Makefile created there (from Makefile.build)
3#
4# This Makefile also contains delegation of the most common make commands
5#
6# If you have cmake installed you should be able to do:
7#
8# make
9# make test
10# make install
11# make package
12#
13# That should build cgreen for C and C++, run some tests, install it locally and
14# generate two distributable packages.
15
16all: build
17 cd $(CGREEN_BUILD_DIR); make all
18
19test: build
20 cd $(CGREEN_BUILD_DIR); make test
21
22clean: build
23 cd $(CGREEN_BUILD_DIR); make clean
24
25package: build
26 cd $(CGREEN_BUILD_DIR); make package
27
28install:
29 cd $(CGREEN_BUILD_DIR); make install
30
31############# Internal
32
33build:
34 mkdir -p $(CGREEN_BUILD_DIR)
35 cp Makefile.build $(CGREEN_BUILD_DIR)/Makefile
36
37
38.SILENT:
diff --git a/quantum/serial_link/cgreen/Makefile.build b/quantum/serial_link/cgreen/Makefile.build
deleted file mode 100644
index f76165244..000000000
--- a/quantum/serial_link/cgreen/Makefile.build
+++ /dev/null
@@ -1,33 +0,0 @@
1# This Makefile is copied from the cgreen top directory (where it is
2# named Makefile.build) and put in a subdirectory called 'build' where
3# builds are made This Makefile then automatically creates
4# subdirectories for C and C++ builds configuring them using the cmake
5# command. Once created you can always tweak the cmake setup as with
6# any cmake build directory
7
8all: build-c build-c++
9 for d in build-* ; do cd $$d; make ; cd .. ; done
10
11clean:
12 for d in build-* ; do cd $$d; make clean ; cd .. ; done
13
14check test:
15 for d in build-* ; do cd $$d; make check ; cd .. ; done
16
17package:
18 for d in build-* ; do cd $$d; make package ; cd .. ; done
19
20install:
21 for d in build-* ; do cd $$d; make install ; cd .. ; done
22
23############ Internal
24
25build-c:
26 mkdir build-c
27 cd build-c; cmake -G "Unix Makefiles" $(CGREEN_DIR)
28
29build-c++:
30 mkdir build-c++
31 cd build-c++; cmake -G "Unix Makefiles" -DWITH_CXX:bool=ON $(CGREEN_DIR)
32
33.SILENT:
diff --git a/quantum/serial_link/cgreen/cgreen b/quantum/serial_link/cgreen/cgreen
deleted file mode 160000
Subproject d4d438dda1b7131f0bd0530b2c258e9dea6a2a9