- Fix defattr line.
[fedora-mingw.git] / ocaml-calendar / Makefile
1 # -*- Makefile -*-
2 # Test programs for ocaml-calendar.
3
4 OCAMLOPTFLAGS = str.cmxa unix.cmxa -I +calendar calendarLib.cmx
5
6 SRCS = gen_test.ml test_fcalendar.ml test_time.ml test_calendar.ml \
7   test_fpcalendar.ml test_pcalendar.ml test_timezone.ml test_date.ml \
8   test_ftime.ml test_printer.ml test.ml
9
10 all: test test.exe
11
12 test: $(SRCS)
13         ocamlopt $(OCAMLOPTFLAGS) $^ -o $@
14
15 test.exe: $(SRCS)
16         i686-pc-mingw32-ocamlopt $(OCAMLOPTFLAGS) $^ -o $@
17
18 clean:
19         rm -f test *.exe *.cmi *.cmx *.o