Yet another iteration of the Makefile problem. This time it seems to keep happy both Solaris and NetBSD.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-07-23 17:36:40 +02:00
parent ba4e784a10
commit 276888f6d5

View file

@ -55,12 +55,12 @@ OBJS = main.o symbol.o package.o list.o\
all: $(DPP) ../libeclmin.a ../cinit.o
%.s: %.c $(HFILES)
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -S -o $@ $<
%.o: %.c $(HFILES)
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -o $@ $<
%.c: %.d $(DPP)
.d.c: $(DPP)
if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi
.c.s: $(HFILES)
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -S -o $@ $<
.c.o: $(HFILES)
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -o $@ $<
apply_x86.c: $(srcdir)/arch/apply_x86.d $(DPP) $(HFILES)
if test -f ../CROSS-DPP ; then \
../CROSS-DPP $(srcdir)/arch/apply_x86.d $@ ; \