From 90627d142832014a2abde7cb89a2e6e8fd2ee894 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Thu, 21 Oct 2021 17:10:58 -0400 Subject: [PATCH] `src/main.c`: rename to `src/dbox.c`. it should hereby be refered to in commit messages as `dbox`, because it is now a fully incorporated program. --- Makefile | 6 +++--- src/{main.c => dbox.c} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{main.c => dbox.c} (100%) diff --git a/Makefile b/Makefile index eb0f2d7..b70e5bb 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,14 @@ DESTDIR ?= / .PHONY: all debug clean build-release install all: $(shell mkdir -p bin) all: ${PROGS} -all: main.c +all: dbox ${PROGS}: @echo Building $@.. @${CC} -c -o bin/$@.o -DDRAKECU_VERSION=${VERSION} ${CC_FLAGS} src/$@.c -main.c: - @${CC} -o bin/dbox src/main.c $(wildcard bin/*.o) +dbox: + @${CC} -o bin/dbox src/dbox.c $(wildcard bin/*.o) debug: CC_FLAGS:=-g -O0 -v ${CC_FLAGS} debug: all diff --git a/src/main.c b/src/dbox.c similarity index 100% rename from src/main.c rename to src/dbox.c