links to ../gtkedit directory

This commit is contained in:
Paul Sheer 1998-09-15 21:30:31 +00:00
parent 2d93c2e0ff
commit c08fe849ea

View File

@ -26,7 +26,7 @@ EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
DIST = Makefile.in README.edit $(EDITSRC)
all: @LIBEDIT_A@
all: checklinks @LIBEDIT_A@
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DMIDNIGHT $<
@ -34,6 +34,13 @@ all: @LIBEDIT_A@
check:
@echo no tests are supplied.
checklinks:
@if test -f $(rootdir)/edit/edit.c; then echo ok; \
else $(MAKE) sourcelinks; fi
sourcelinks:
-cd $(rootdir)/edit ; $(LN_S) ../gtkedit/*.[ch] . >/dev/null 2>&1 ; true
libedit.a: $(EDITOBJS)
$(RMF) $@
$(AR) cr $@ $(EDITOBJS)