[commit: packages/time] master: Compile test programs using ../../dist/build/libHStime-1.0.a as produced by the Cabal build step. (43d95b2)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:57:23 UTC 2015
Repository : ssh://git@git.haskell.org/time
On branch : master
Link : http://git.haskell.org/packages/time.git/commitdiff/43d95b2e3a860661e66bed2e606b7675178eb22f
>---------------------------------------------------------------
commit 43d95b2e3a860661e66bed2e606b7675178eb22f
Author: bjorn <bjorn at bringert.net>
Date: Thu Nov 16 03:20:48 2006 -0800
Compile test programs using ../../dist/build/libHStime-1.0.a as produced by the Cabal build step.
darcs-hash:20061116112048-6cdb2-c592217ab26ead8026d074c6d410f0d10265e0c0
>---------------------------------------------------------------
43d95b2e3a860661e66bed2e606b7675178eb22f
time/test/Makefile | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/time/test/Makefile b/time/test/Makefile
index 9df2b39..c3f2992 100644
--- a/time/test/Makefile
+++ b/time/test/Makefile
@@ -1,54 +1,55 @@
GHC = ghc
GHCFLAGS =
+LIBS = ../../dist/build/libHStime-1.0.a
default: CurrentTime.run ShowDST.run test
-TestMonthDay: TestMonthDay.o ../libHStime.a
+TestMonthDay: TestMonthDay.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-ConvertBack: ConvertBack.o ../libHStime.a
+ConvertBack: ConvertBack.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-TestCalendars: TestCalendars.o ../libHStime.a
+TestCalendars: TestCalendars.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-TestTime: TestTime.o ../libHStime.a
+TestTime: TestTime.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-LongWeekYears: LongWeekYears.o ../libHStime.a
+LongWeekYears: LongWeekYears.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-ClipDates: ClipDates.o ../libHStime.a
+ClipDates: ClipDates.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-AddDays: AddDays.o ../libHStime.a
+AddDays: AddDays.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-TestFormat: TestFormat.o TestFormatStuff.o ../libHStime.a
+TestFormat: TestFormat.o TestFormatStuff.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
TestFormatStuff.o: TestFormatStuff.c TestFormatStuff.h
gcc -o $@ -c $<
-TestParseDAT: TestParseDAT.o ../libHStime.a
+TestParseDAT: TestParseDAT.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-TestEaster: TestEaster.o ../libHStime.a
+TestEaster: TestEaster.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-CurrentTime: CurrentTime.o ../libHStime.a
+CurrentTime: CurrentTime.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-ShowDST: ShowDST.o ../libHStime.a
+ShowDST: ShowDST.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
-TimeZone: TimeZone.o ../libHStime.a
+TimeZone: TimeZone.o $(LIBS)
$(GHC) $(GHCFLAGS) $^ -o $@
TimeZone.ref: FORCE
date +%z > $@
-TestParseTime: TestParseTime.o ../libHStime.a
+TestParseTime: TestParseTime.o $(LIBS)
$(GHC) $(GHCFLAGS) -package QuickCheck $^ -o $@
test: \
More information about the ghc-commits
mailing list