make-java

An attempt to build java project using Makefiles
git clone git@getsh.org:make-java.git
Log | Files | Refs | README | LICENSE

Makefile.sample (286B)


      1 .PHONY: build deps test deploy setup
      2 
      3 VERSION = 0.1.0
      4 SRC ?= $(wildcard src/*.scala)
      5 DEST ?= .bin
      6 MAIN ?= Main
      7 PROGRAM := myjavaproject
      8 
      9 DEPS += com/android/org.osgi/osgi.core\:3.2.0
     10 
     11 .DEFAULT_GOAL := all
     12 
     13 include config.mk
     14 
     15 all: $(BIN_DIR)/$(PROGRAM).jar
     16 
     17 clean:
     18 	$(RMDIR) $(BIN_DIR)/