Source

mutated_ocaml / otherlibs / labltk / lib / Makefile

Diff from to

File otherlibs/labltk/lib/Makefile

 opt: $(LIBNAME).cmxa
 
 clean:
-	rm -f $(LIBNAME)top$(EXE) $(LIBNAME) *.cm* *.$(A)
+	rm -f $(LIBNAME)top$(EXE) $(LIBNAME) *.cm* *.$(A) *$(EXT_DLL)
 
 superclean:
 	- if test -f tk.cmo; then \
 	cd ../camltk; $(MAKE)
 	$(MKLIB) -ocamlc '$(CAMLCB)' -o $(LIBNAME) \
 	  -I ../labltk -I ../camltk $(TKOBJS) \
-	  $(TK_LINK)
+	  -cclib "\"$(TK_LINK)\""
 
 $(LIBNAME).cmxa: $(SUPPORT:.cmo=.cmx) ../Widgets.src
 	$(MAKE) superclean
 	cd ../camltk; $(MAKE) opt
 	$(MKLIB) -ocamlopt '$(CAMLOPTB)' -o $(LIBNAME) -oc $(LIBNAME) \
 	  -I ../labltk -I ../camltk $(TKOBJS:.cmo=.cmx) \
-	  $(TK_LINK)
+	  -cclib "\"$(TK_LINK)\""
 
 $(LIBNAME)top$(EXE) : $(TOPDEPS) $(LIBNAME).cma ../support/lib$(LIBNAME).$(A)
 	$(CAMLC) -verbose -linkall -o $(LIBNAME)top$(EXE) -I ../support \