`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.
master
Drake 3 years ago
parent 4dacf439da
commit 90627d1428
No known key found for this signature in database
GPG Key ID: 9B83455BD94F12A3

@ -11,14 +11,14 @@ DESTDIR ?= /
.PHONY: all debug clean build-release install .PHONY: all debug clean build-release install
all: $(shell mkdir -p bin) all: $(shell mkdir -p bin)
all: ${PROGS} all: ${PROGS}
all: main.c all: dbox
${PROGS}: ${PROGS}:
@echo Building $@.. @echo Building $@..
@${CC} -c -o bin/$@.o -DDRAKECU_VERSION=${VERSION} ${CC_FLAGS} src/$@.c @${CC} -c -o bin/$@.o -DDRAKECU_VERSION=${VERSION} ${CC_FLAGS} src/$@.c
main.c: dbox:
@${CC} -o bin/dbox src/main.c $(wildcard bin/*.o) @${CC} -o bin/dbox src/dbox.c $(wildcard bin/*.o)
debug: CC_FLAGS:=-g -O0 -v ${CC_FLAGS} debug: CC_FLAGS:=-g -O0 -v ${CC_FLAGS}
debug: all debug: all

Loading…
Cancel
Save