diff --git a/gebs.h b/gebs.h index 2e566fe..ae981e9 100644 --- a/gebs.h +++ b/gebs.h @@ -274,7 +274,7 @@ void gebs_rebuild_self1_alloc(Gebs_Allocator *alloc, int argc, char ** argv, #define gebs_make_compile_flags(...) \ do { \ - if (!gebs_exists("compile_flags.txt")) { \ + if (gebs_needs_rebuild("compile_flags.txt", __FILE__)) { \ GEBS_LOGI("Creating compile_flags.txt\n"); \ const char *__flags[] = { __VA_ARGS__ }; \ FILE *__out = fopen("compile_flags.txt", "w"); \