diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-27 18:21:33 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-27 18:21:33 +0200 |
commit | b92b77f2f3ad0b6683c5f8d6d9a02870ea3bef28 (patch) | |
tree | 8302e6d1488e771b02fc296daeacec3ef17118b6 | |
parent | e7583299b0ef8f7372f075f89c4b0ca733d02e02 (diff) |
move to make
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | all.do | 3 | ||||
-rw-r--r-- | default.o.do | 4 | ||||
-rw-r--r-- | makefile | 10 | ||||
-rw-r--r-- | readme.md | 8 |
5 files changed, 13 insertions, 20 deletions
@@ -1,8 +1,2 @@ -all - -*.d +main *.o -.dep.* -.depend.* -.lock.* -.target.* @@ -1,3 +0,0 @@ -DEPS="main.o" -redo-ifchange $DEPS -gcc -o "$3" $DEPS diff --git a/default.o.do b/default.o.do deleted file mode 100644 index ae34754..0000000 --- a/default.o.do +++ /dev/null @@ -1,4 +0,0 @@ -redo-ifchange "$2.cpp" -g++ -MD -MF "$2.d" -c -o "$3" "$2.cpp" -read DEPS < "$2.d" -redo-ifchange ${DEPS#*:} @@ -1,8 +1,8 @@ -# this makefile transparently forwards all `make` calls to `redo` for convenience +main: main.o -.PHONY: FORCE +clean: + git clean -fxdi -all: FORCE - @redo $(MAKECMDGOALS) +compile_commands.json: + compiledb make -Bn -$(MAKECMDGOALS): all @@ -1,6 +1,12 @@ # design patters -List of applied design patters +## Building + +``` +make +``` + +## Applied design patters - Observer - Factory |