summaryrefslogtreecommitdiff
path: root/xpp/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/utils/Makefile')
-rw-r--r--xpp/utils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile
index 7dc4fa2..b7d77f3 100644
--- a/xpp/utils/Makefile
+++ b/xpp/utils/Makefile
@@ -48,7 +48,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.o: wctdm_fxomodes.h
+print_modes.o: print_modes.c wctdm_fxomodes.h
+ $(HOSTCC) $(CFLAGS) -c $^
wctdm_fxomodes.h: $(WCTDM)
perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@