summaryrefslogtreecommitdiff
path: root/backend/Makefile
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-08-13 20:14:43 -0700
committerGitHub <noreply@github.com>2022-08-13 20:14:43 -0700
commitaf817b6b5f530a1a062cee708043dc3a41155aba (patch)
treee724ac2b99f556e66ebe42127b0c0f00b0cfbeef /backend/Makefile
parent41103641bd319468a06558ca97aef596a78d9f34 (diff)
downloaddecky-bazzite-buddy-af817b6b5f530a1a062cee708043dc3a41155aba.tar.gz
decky-bazzite-buddy-af817b6b5f530a1a062cee708043dc3a41155aba.zip
Merge Dockerfile and example files for backend support example (#7)
* Add template dockerfile for testing * Switch to holo-docker image * Add default entrypoint.sh * Updated dockerfile to reflect CI/CD on database * Add template makefile, main.c * Adjusted entrypoint.sh to actually build binary * Made entrypoint.sh executable * Big README update and comments in Dockerfile
Diffstat (limited to 'backend/Makefile')
-rw-r--r--backend/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/backend/Makefile b/backend/Makefile
new file mode 100644
index 0000000..a1e5dc5
--- /dev/null
+++ b/backend/Makefile
@@ -0,0 +1,14 @@
+# This is the default target, which will be built when
+# you invoke make
+.PHONY: all
+all: hello
+
+# This rule tells make how to build hello from hello.cpp
+hello:
+ mkdir -p ./out
+ gcc -o ./out/hello ./src/main.c
+
+# This rule tells make to delete hello and hello.o
+.PHONY: clean
+clean:
+ rm -f hello \ No newline at end of file