summary refs log tree commit diff
diff options
context:
space:
mode:
authorzlago2025-04-12 22:42:59 +0200
committerzlago2025-04-12 22:42:59 +0200
commit67c27b93788fa429570da22a48f98291cd402e49 (patch)
tree49d50ff8032ba896796f577b7681f337f5ea0ff0
parent572ae2b14906462a81a233a0e06180c1dc815786 (diff)
separate compiling the binary and assets HEAD main
-rw-r--r--GNUmakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f1720b7..583b370 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -13,9 +13,13 @@ srcs := $(wildcard src/*.c)
 objs := $(addprefix out/${NS}/,$(notdir ${srcs:.c=.o}))
 deps := $(addprefix out/${NS}/,$(notdir $(patsubst %.c,%.d,$(wildcard src/*.c))))
 
-.PHONY: all run clean
+.PHONY: all bin res run clean
 
-all: out/${NS}/a.${EXTENSION} out/assets.res
+all: bin res
+
+bin: out/${NS}/a.${EXTENSION}
+
+res: out/assets.res
 
 run: out/${NS}/a.${EXTENSION} out/assets.res
 	./$^