summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 37f2fb0..c0b4a39 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,9 @@ all: $(LIB)
 goatc.so: goatc.cc
 	${CXX} ${CXXFLAGS} $< ${LDLIBS} -o $@ -shared ${LDFLAGS}
 
+goatcflags: goatcflags.m4
+	m4 -D PREFIX=${PREFIX} $< > $@
+
 install: $(INSTALLED_LIB) $(INSTALLED_BIN)
 
 ${DESTDIR}${PREFIX}/lib/%: %