aboutsummaryrefslogtreecommitdiff
path: root/editors/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Makefile.in')
-rw-r--r--editors/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/Makefile.in b/editors/Makefile.in
index 017f30934..571e05568 100644
--- a/editors/Makefile.in
+++ b/editors/Makefile.in
@@ -19,8 +19,9 @@
19 19
20EDITOR_AR:=editors.a 20EDITOR_AR:=editors.a
21ifndef $(EDITOR_DIR) 21ifndef $(EDITOR_DIR)
22EDITOR_DIR:=$(TOPDIR)editors/ 22EDITOR_DIR:=$(top_builddir)/editors/
23endif 23endif
24srcdir=$(top_srcdir)/editors
24 25
25EDITOR-y:= 26EDITOR-y:=
26EDITOR-$(CONFIG_AWK) += awk.o 27EDITOR-$(CONFIG_AWK) += awk.o
@@ -42,3 +43,6 @@ endif
42$(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) 43$(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y))
43 $(AR) -ro $@ $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) 44 $(AR) -ro $@ $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y))
44 45
46$(EDITOR_DIR)%.o: $(srcdir)/%.c
47 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
48