Add makefile and mkconfig.c

This commit is contained in:
2023-01-31 11:40:37 -05:00
parent fae60ac762
commit eacca51cb6
4 changed files with 116 additions and 0 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
SOURCE_FILES = ./mkconfig.c
OUTPUT=mkconfig
build: $(SOURCE_FILES)
mkdir -p bin/ && \
gcc -Wall $(CFLAGS) $(LIBS) $(SOURCE_FILES) -o bin/$(OUTPUT)
run:
bin/$(OUTPUT)
compile_db: Makefile
bear -- make
clean:
rm bin/$(OUTPUT)