--- a/Make.proto Sat Feb 02 01:23:18 2013 +0100
+++ b/Make.proto Wed Feb 06 17:05:30 2013 +0100
@@ -1,4 +1,4 @@
-# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.136 2013-01-25 18:21:26 cg Exp $
+# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.137 2013-02-06 16:05:30 vrany Exp $
#
# DO NOT EDIT
# automagically generated from the projectDefinition: stx_libview2.
@@ -73,7 +73,7 @@
#
# prelink JPEGReader.o with libjpeg
#
-JPEGReader_prelinked: $(LIBJPEG_RULE)
+JPEGReader_prelinked: $(LIBJPEG_RULE) $(LIBJPEG)
@$(MAKE) JPEGReader.$(O) \
CC="$(LIBJPEG_CC)" \
OPT="$(LIBJPEG_OPT)" \
@@ -96,6 +96,8 @@
# LIBJPEG_RULE is either $(LIBJPEG) or $(LIBJPEG_DIR)/.libs/libjpeg.a (for linux-elf)
+$(LIBJPEG): $(LIBJPEG_DIR)/.libs/libjpeg.a
+ cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG)
$(LIBJPEG_DIR)/.libs/libjpeg.a: $(LIBJPEG_DIR)/Makefile $(LIBJPEG_DIR)/*.c $(LIBJPEG_DIR)/*.h
@-echo
@@ -103,7 +105,6 @@
@-echo
cd $(LIBJPEG_DIR) \
&& $(MAKE) all CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT) $(CCCONFOPT)"
- cp $(LIBJPEG_DIR)/.libs/libjpeg.a $(LIBJPEG)
@-echo
$(LIBJPEG_DIR)/Makefile: