Move config to config/

Nakidai 2023-10-30 03:00:39 +03:00
parent d6eef4c404
commit 35669794a7
Signed by untrusted user who does not match committer: nakidai
GPG Key ID: 914675D395210A97
3 changed files with 6 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
obj/
game
config.mk
config/

View File

@ -1,3 +1,5 @@
include config/config.mk
OUT = game
CFLAGS =
LDFLAGS =
@ -22,6 +24,6 @@ $(OUT): obj $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
clean:
$(RM) $(OUT) config.mk $(OBJDIR)/*
$(RM) $(OUT) config/* $(OBJDIR)/*
.PHONY: default clean

3
configure vendored
View File

@ -5,6 +5,7 @@ RM=${RM:-rm -f}
CFLAGS=${CFLAGS:-}
LDFLAGS=${LDFLAGS:-}
OUT=${OUT:-game}
SIZE=${SIZE:-10}
echo "Compiler: $CC"
echo "Remove: $RM"
@ -16,4 +17,4 @@ echo "CC = $CC
RM = $RM
CFLAGS = $CFLAGS
LDFLAGS = $LDFLAGS
OUT = $OUT" > config.mk
OUT = $OUT" > config/config.mk