fexc: use script.o

This commit is contained in:
Alejandro Mery 2012-05-11 09:22:47 +02:00
parent 1fc1addd2d
commit a2d5f0a42e
3 changed files with 6 additions and 8 deletions

View File

@ -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)

8
fexc.c
View File

@ -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))
{

4
fexc.h
View File

@ -19,4 +19,8 @@
#include "common.h"
#include <stdint.h>
#include "script.h"
#endif