aboutsummaryrefslogtreecommitdiffstats
path: root/agi
diff options
context:
space:
mode:
Diffstat (limited to 'agi')
-rw-r--r--agi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/agi/Makefile b/agi/Makefile
index 08de2f751..3a3495138 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -23,12 +23,13 @@ include $(ASTTOPDIR)/Makefile.rules
all: $(AGIS)
+strcompat.c: ../main/strcompat.c
+ @cp $< $@
+
eagi-test: eagi-test.o strcompat.o
eagi-sphinx-test: eagi-sphinx-test.o
-$(eval $(call ast_make_o_c,strcompat.o,../main/strcompat.c))
-
install: all
mkdir -p $(DESTDIR)$(AGI_DIR)
for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
@@ -41,6 +42,7 @@ clean-depend:
clean: clean-depend
rm -f *.so *.o look eagi-test eagi-sphinx-test
+ rm -f strcompat.c
ifneq ($(wildcard .depend),)
include .depend