diff options
author | Ian Lynagh <igloo@earth.li> | 2009-04-26 11:42:15 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-04-26 11:42:15 +0000 |
commit | 34cc75e1a62638f2833815746ebce0a9114dc26b (patch) | |
tree | ef21e8fd7af1356beea9cce7d6efb8a65374e24c /utils/touchy | |
parent | 74e1368d4688ee16f6decdf2cd3ebe27506b26ba (diff) | |
download | haskell-34cc75e1a62638f2833815746ebce0a9114dc26b.tar.gz |
GHC new build system megapatch
Diffstat (limited to 'utils/touchy')
-rw-r--r-- | utils/touchy/ghc.mk | 5 | ||||
-rw-r--r-- | utils/touchy/touchy.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk new file mode 100644 index 0000000000..022783fd3e --- /dev/null +++ b/utils/touchy/ghc.mk @@ -0,0 +1,5 @@ +utils/touchy_dist_C_SRCS = touchy.c +utils/touchy_dist_PROG = $(GHC_TOUCHY_PGM) +utils/touchy_dist_LIBEXEC = YES +utils/touchy_dist_INSTALL = YES +$(eval $(call build-prog,utils/touchy,dist,0)) diff --git a/utils/touchy/touchy.c b/utils/touchy/touchy.c index 90fb31e93e..dc4dc8d83f 100644 --- a/utils/touchy/touchy.c +++ b/utils/touchy/touchy.c @@ -11,6 +11,7 @@ #include <sys/types.h> #include <fcntl.h> #include <errno.h> +#include <utime.h> int main(int argc, char** argv) |