--- Makefile.am.orig
+++ Makefile.am
@@ -60,6 +60,9 @@
 appjs.h: bin2c$(EXEEXT) resources/js/app.js
 	./bin2c resources/js/app.js src/appjs.h app_js
 
+bin2c$(EXEEXT): src/bin2c.c
+	gcc $< -o $@
+
 confdir = $(sysconfdir)
 dist_conf_DATA = config/goaccess.conf
 
