mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 14:21:48 -08:00
Solaris's make is not able to deduce from .d.c and .c.o the .d.o rule.
This commit is contained in:
parent
302c48e5e4
commit
ef59d2ea1a
1 changed files with 5 additions and 1 deletions
|
|
@ -58,6 +58,10 @@ all: $(DPP) ../libeclmin.a ../cinit.o
|
|||
|
||||
.d.c: $(DPP)
|
||||
if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi
|
||||
.d.o: $(DPP)
|
||||
if test -f ../CROSS-DPP ; then ../CROSS-DPP $< tmp.c ; else $(DPP) $< tmp.c ; fi
|
||||
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -o $@ $<
|
||||
$(RM) tmp.c
|
||||
.c.s: $(HFILES)
|
||||
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -S -o $@ $<
|
||||
.c.o: $(HFILES)
|
||||
|
|
@ -84,7 +88,7 @@ ffi_x86_64.c: $(srcdir)/arch/ffi_x86_64.d $(DPP) $(HFILES)
|
|||
$(RANLIB) $@
|
||||
|
||||
clean:
|
||||
$(RM) $(DPP) *.c *.h $(OBJS) all_symbols.o all_symbols2.o ../libecl.a cinit.o core a.out
|
||||
$(RM) $(DPP) *.c *.h $(OBJS) all_symbols.o all_symbols2.o ../libecl.a cinit.o core a.out tmp.c
|
||||
|
||||
# Build rules
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue