mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	Now builds library and executable and has ocamlfind support
This commit is contained in:
		
							
								
								
									
										12
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,6 +1,7 @@
 | 
			
		||||
# Build the cpdf command line tools and top level
 | 
			
		||||
SOURCES = cpdfstrftime.mli cpdfstrftime.ml cpdf.mli cpdf.ml cpdfcommand.mli \
 | 
			
		||||
cpdfcommand.ml cpdfcommandrun.ml
 | 
			
		||||
MODS = cpdfstrftime cpdf cpdfcommand
 | 
			
		||||
 | 
			
		||||
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
 | 
			
		||||
 | 
			
		||||
RESULT = cpdf
 | 
			
		||||
 | 
			
		||||
@@ -10,7 +11,12 @@ OCAMLNCFLAGS = -g
 | 
			
		||||
OCAMLBCFLAGS = -g
 | 
			
		||||
OCAMLLDFLAGS = -g
 | 
			
		||||
 | 
			
		||||
all : native-code top htdoc
 | 
			
		||||
all : native-code native-code-library byte-code-library top htdoc
 | 
			
		||||
 | 
			
		||||
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
 | 
			
		||||
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi)
 | 
			
		||||
 | 
			
		||||
install : libinstall
 | 
			
		||||
 | 
			
		||||
-include OCamlMakefile
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user