From 276888f6d58ca3f6c70ce39cb05e2bf5cd89f1c4 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Thu, 23 Jul 2009 17:36:40 +0200 Subject: [PATCH] Yet another iteration of the Makefile problem. This time it seems to keep happy both Solaris and NetBSD. --- src/c/Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/c/Makefile.in b/src/c/Makefile.in index fb3c4c6d7..532030226 100644 --- a/src/c/Makefile.in +++ b/src/c/Makefile.in @@ -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 $@ ; \