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/ obj/
game game
config.mk config/

View File

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

3
configure vendored
View File

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