From 117d364cba3424410b2f3f8ba1f27afef2f00fbc Mon Sep 17 00:00:00 2001 From: jjgarcia Date: Tue, 29 Nov 2005 14:52:02 +0000 Subject: [PATCH] Allow ECL build with the various BSD make program --- src/c/Makefile.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/c/Makefile.in b/src/c/Makefile.in index 209f04976..c0e1a5ea4 100644 --- a/src/c/Makefile.in +++ b/src/c/Makefile.in @@ -52,16 +52,16 @@ OBJS = main.o symbol.o package.o list.o\ ffi.o @EXTRA_OBJS@ .SUFFIXES: .c .o .d - -%.o: %.c $(HFILES) - $(CC) $(CFLAGS) -o $@ $< -%.c: %.d $(DPP) $(HFILES) - if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi -%.c: arch/%.d $(DPP) $(HFILES) - if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi +.PHONY: all all: $(DPP) external.h ../libeclmin.a ../cinit.o -.PHONY: all + +.c.o: $(HFILES) + $(CC) $(CFLAGS) -o $@ $< +.d.c: $(DPP) $(HFILES) + if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi +ffi_x86.c: arch/ffi_x86.d $(DPP) $(HFILES) + if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi # # When compiling the library itself, we have to remove the dllimport