From 6a386ee203c609894dc6e6e97bf6d5c651ab3e37 Mon Sep 17 00:00:00 2001 From: dacctal Date: Sat, 4 Jul 2026 05:27:09 +0000 Subject: lua checkpoint! --- src/debug.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/debug.c (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c new file mode 100644 index 0000000..0a580df --- /dev/null +++ b/src/debug.c @@ -0,0 +1,35 @@ +/* + + pkgit - package it! + + Copyright (C) 2026 dacctal + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + + +#include "globs.h" + +void debug_print_inst_dirs(void) { + printf("PREFIX:\t"); + str_println(&inst_dirs.prefix); + printf("ID_BIN:\t"); + str_println(&inst_dirs.bin); + printf("ID_LIB:\t"); + str_println(&inst_dirs.lib); + printf("ID_INCLUDE:\t"); + str_println(&inst_dirs.include); + printf("ID_SRC:\t"); + str_println(&inst_dirs.src); +} -- cgit v1.2.3