File: Makefile

package info (click to toggle)
haskell-haxr 3000.11.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: haskell: 1,539; makefile: 16
file content (20 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GHC = ghc
GHCFLAGS = -O2 -package haxr -XOverlappingInstances

TEST_PROGS = make-stubs parse_response \
             person_server person_client raw_call \
	     simple_client simple_server test_client \
             test_server time-xmlrpc-com validate \
             person_server person_client

.SUFFIXES: .hs .hi .o

.PHONY: all clean

default all: $(TEST_PROGS)

%: %.hs
	$(GHC) $(GHCFLAGS) --make -o $@ $<

clean:
	-rm -f *.hi *.o $(TEST_PROGS)