diff --git a/back-end/main.c b/back-end/main.c index f651a28..271614e 100644 --- a/back-end/main.c +++ b/back-end/main.c @@ -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), diff --git a/back-end/makefile b/back-end/makefile index 24a0576..9931a7a 100644 --- a/back-end/makefile +++ b/back-end/makefile @@ -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) *~