summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-10-13 15:27:59 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-10-13 15:44:17 -0400
commit6d53452ebc24287a72eedb9a2cc3f9e21c55362c (patch)
tree04ce0135a9718c41f24f217b587088dd9d59241a /Makefile
parent62dae6011db94dd52c3ac0fce517c6e9cc0abcf6 (diff)
pke-at: second-pass sql storage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ac18f45..edf856e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ endef
define cc-encode-binary-command
$(1): $(2)
- xxd -i $$< | sed -e 's/^unsigned /const unsigned /' > $$@
+ xxd -i $$< | sed 's/};/ ,0x00\n};/' | sed -e 's/^unsigned /const unsigned /' > $$@
endef
define cc-pre-compile-header-command
@@ -76,14 +76,13 @@ options: prepare .WAIT
@echo "CC = $(CC)"
@echo "CXX = $(CXX)"
-obj/embedded-sql.o : $(FILES_BIN_GCH)
+obj/pke-at-storage-sql.o : $(FILES_BIN_GCH)
obj/%.o : src/%.c | prepare
$(cc-command)
obj/%.o : src/%.cpp | prepare
$(cxx-command)
bin/pke-at: ## Builds the pke-at executable
-bin/pke-at: obj/embedded-sql.o
bin/pke-at: obj/level-main.o
bin/pke-at: obj/level-init.o
bin/pke-at: obj/main.o