cpp:index
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cpp:index [2017/01/13 15:28] – created rlunaro | cpp:index [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* [[doxygen|Doxygen made easy]] | * [[doxygen|Doxygen made easy]] | ||
+ | |||
+ | ===== Automatic Makefile ===== | ||
+ | |||
+ | This three line makefile allows to automatically compile single file cpp files. Ideal | ||
+ | for having a test directory where you can create a single cpp file and compile it by | ||
+ | issuing a '' | ||
+ | |||
+ | <code Makefile> | ||
+ | |||
+ | CPPFLAGS := $(CPPFLAGS) -g | ||
+ | |||
+ | cpp_files := $(patsubst %.cpp, | ||
+ | |||
+ | |||
+ | all: $(cpp_files) | ||
+ | |||
+ | |||
+ | </ | ||
cpp/index.1484321338.txt.gz · Last modified: 2022/12/02 21:02 (external edit)