mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
links to ../gtkedit directory
This commit is contained in:
parent
2d93c2e0ff
commit
c08fe849ea
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user