diff options
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/utils/Makefile | 4 | ||||
-rw-r--r-- | xpp/utils/print_modes.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile index d880842..b38f425 100644 --- a/xpp/utils/Makefile +++ b/xpp/utils/Makefile @@ -126,8 +126,8 @@ test_parse.o: test_parse.c hexfile.h test_parse: test_parse.o libhexfile.a $(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb -print_modes: print_modes.c wctdm_fxomodes.h - $(HOSTCC) -o $@ $(CFLAGS) $< +print_modes: print_modes.c $(ZAP_KERNEL)/fxo_modes.h + $(HOSTCC) -I$(ZAP_KERNEL) -o $@ $(CFLAGS) $< wctdm_fxomodes.h: $(WCTDM) perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@ diff --git a/xpp/utils/print_modes.c b/xpp/utils/print_modes.c index 6312bd1..e894b11 100644 --- a/xpp/utils/print_modes.c +++ b/xpp/utils/print_modes.c @@ -1,6 +1,6 @@ #include <stdio.h> -#include "wctdm_fxomodes.h" +#include "fxo_modes.h" int main() { size_t i; |