separate compiling the binary and assets
HEAD main1 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
./$^
|