Add HOST prefix to ar

Revert modification on clean target
This commit is contained in:
Grégory Soutadé 2012-02-28 17:42:47 +01:00
parent 101c3d23a3
commit ac755bc951

View File

@ -34,9 +34,9 @@ LDFLAGS+=lib/libkdchart.a
all: mojito lib/libkdchart.a kc
clean: clean_kc clean_libkdchart
clean_all: clean clean_libkdchart
clean_kc:
clean:
find src -type f -name '*.o' -delete
find src -type f -name '*~' -delete
find src -type f -name '*.moc' -delete
@ -65,7 +65,7 @@ $(UI_CHARTSELECTOR): lib/libkdchart/src/KDChartDatasetSelector.ui
sed s/KDCHARTDATASETSELECTOR_H/UI_KDCHARTDATASETSELECTOR_H/g -i $(UI_CHARTSELECTOR)
lib/libkdchart.a: $(UI_CHARTSELECTOR) $(KDCHART_MOCS) $(KDCHART_OBJS)
ar rcu lib/libkdchart.a $(KDCHART_MOCS) $(KDCHART_OBJS)
$(HOST)ar rcu lib/libkdchart.a $(KDCHART_MOCS) $(KDCHART_OBJS)
clean_libkdchart:
rm -rf lib/libkdchart.a