File: Makefile

package info (click to toggle)
haskell-src-exts 0.2.1~darcs20071212-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 348 kB
  • ctags: 14
  • sloc: haskell: 3,777; makefile: 144; sh: 42
file content (17 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# unix/cygwin people can use the following targets (requires GNU make)
#
PREFIX=         /usr/local
PROJECTS=       harp haskell-src-exts trhsx
STAGES=         "configure --prefix=${PREFIX}" build install
HC=             runhaskell
SCRIPT=         Setup.hs

.PHONY: all

all:
	@(for D in ${PROJECTS} ; do \
                cd src/$$D ;\
        	for S in ${STAGES} ; do ${HC} ${SCRIPT} $$S ; done ;\
                cd ../.. ;\
        done)