File: Makefile

package info (click to toggle)
ocamltk 41-1
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 1,096 kB
  • ctags: 2,142
  • sloc: ansic: 4,385; ml: 4,095; makefile: 441; sh: 5
file content (36 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include ../../Makefile.config

COMPFLAGS=-I ../../support -I ../../lib -I ..
LINKFLAGS= -I ../../lib

all : gifanimtest

OBJS = gifanimtest.cmo

TKLINKOPT= -ccopt -L../../support -cclib -lcamltk41 \
	   -ccopt -L../ext \
	   $(TKLIBS) $(X11_LIBS) \
	   tk41.cma unix.cma -cclib -lunix 

gifanimtest: $(OBJS)
	$(CAMLC) -custom $(LINKFLAGS) $(TKLINKOPT) -o gifanimtest \
		../tkanim.cmo ../tkaniminit.o ../tkaniminit.cmo $(OBJS) \
		-cclib -ltkanim
			

.SUFFIXES :
.SUFFIXES : .mli .ml .cmi .cmo .mlp

.mli.cmi:
	$(CAMLCOMP) $(COMPFLAGS) $<

.ml.cmo:
	$(CAMLCOMP) $(COMPFLAGS) $<

depend: 
	$(CAMLDEP) *.mli *.ml > .depend

clean:
	rm -f gifanimtest *.cm?

include .depend