Commit f88a000b authored by Yuri D. Lensky's avatar Yuri D. Lensky
Browse files

Fix makefile ordering.

Ensure correct rule precedence for header files.
parent a7e1bf6c
......@@ -84,13 +84,13 @@ endif
all: $(DPP) ../libeclmin.a ../cinit.o
$(HDIR)/%.h: $(top_srcdir)/h/%.h
cp $< $@
$(HDIR)/impl/%.h: $(top_srcdir)/h/impl/%.h
mkdir -p $(HDIR)/impl
cp $< $@
$(HDIR)/%.h: $(top_srcdir)/h/%.h
cp $< $@
%.c: %.d $(DPP)
if test -f ../CROSS-DPP ; then ../CROSS-DPP $< $@ ; else $(DPP) $< $@ ; fi
%.o: %.d $(DPP) $(HFILES)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment