mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	more tweaking the Makefile...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3a8e284ba9
								
							
						
					
					
						commit
						f9eba2d5a6
					
				
							
								
								
									
										23
									
								
								ui/Makefile
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								ui/Makefile
									
									
									
									
									
								
							| @ -1,5 +1,11 @@ | |||||||
| # TODO: add minification... (???)
 | # TODO: build to a BUILD_DIR...
 | ||||||
| 
 | # TODO: build all target platforms...
 | ||||||
|  | #	- Windows (AppJS)
 | ||||||
|  | #	- MacOSX (AppJS)
 | ||||||
|  | #	- Windows8 (native?) XXX
 | ||||||
|  | #	- PhoneGap-remote
 | ||||||
|  | #	  push and api call to fetch and rebuild
 | ||||||
|  | #	- PhoneGap-local XXX
 | ||||||
| 
 | 
 | ||||||
| # process LESS files to CSS...
 | # process LESS files to CSS...
 | ||||||
| %.css: %.less | %.css: %.less | ||||||
| @ -18,12 +24,25 @@ CSS_FILES := $(patsubst %.less,%.css,$(wildcard *.less)) | |||||||
| JS_FILES := $(patsubst %.js,%.min.js,$(wildcard *.js)) | JS_FILES := $(patsubst %.js,%.min.js,$(wildcard *.js)) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| all: css | all: css | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| css: $(CSS_FILES) | css: $(CSS_FILES) | ||||||
| 
 | 
 | ||||||
| minify: $(JS_FILES) | minify: $(JS_FILES) | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | # build targets...
 | ||||||
|  | 
 | ||||||
|  | windows: css minify | ||||||
|  | 
 | ||||||
|  | mac: css minify | ||||||
|  | 
 | ||||||
|  | phonegap-remote: css minify | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| clean: | clean: | ||||||
| 	@rm -f $(CSS_FILES) | 	@rm -f $(CSS_FILES) | ||||||
| 	@rm -f $(JS_FILES) | 	@rm -f $(JS_FILES) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user