feat: adjust back-end

This commit is contained in:
dancingCycle 2023-01-19 12:26:53 +01:00
parent b032a18456
commit 7b2cd95278
2 changed files with 2 additions and 12 deletions

View File

@ -23,6 +23,7 @@ int main(int argc, char *argv[]) {
config_init(&cfg);
/* Read the file. If there is an error, report it and exit. */
/*TODO Make sure argv is a valid file name!*/
if(! config_read_file(&cfg, argv[1]))
{
fprintf(stderr, "%s:%d - %s\n", config_error_file(&cfg),

View File

@ -1,17 +1,6 @@
# Docu
#
#$@ is the name of the file to be made
#$? is the names of the changed dependents
#$< the name of the related file that caused the action
#$* the prefix shared by target and dependent files
#
# Others
RM = /bin/rm -f
#
# Source, Executable, Includes, Library Defines
EXE = main
#
# Compiler, Linker Defines
CC = /usr/bin/gcc
#
all: main.o
@ -19,6 +8,6 @@ all: main.o
#
main.o:
$(CC) -c main.c
# Clean Up Objects, Exectuables, Dumps out of source directory
#
clean:
$(RM) *.o $(EXE) *~