diff --git a/Makefile b/Makefile index 7697bee..b0bde5b 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ $(TOOLS): Makefile common.h fex2bin bin2fex: fexc ln -s $< $@ +fexc: script.h script.c + %: %.c %.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.c,$^) $(LIBS) diff --git a/fexc.c b/fexc.c index 23978e4..dd478b1 100644 --- a/fexc.c +++ b/fexc.c @@ -25,14 +25,6 @@ /* */ -static struct script *script_new(void) -{ - return NULL; -} -static void script_delete(struct script *UNUSED(script)) -{ -} - static int script_parse(int UNUSED(mode), const char *UNUSED(filename), struct script *UNUSED(script)) { diff --git a/fexc.h b/fexc.h index a5e5cd5..8f8d14d 100644 --- a/fexc.h +++ b/fexc.h @@ -19,4 +19,8 @@ #include "common.h" +#include + +#include "script.h" + #endif