29 lines
499 B
Makefile
29 lines
499 B
Makefile
# Generate java constants
|
|
include ../masterbuild/common.mk
|
|
|
|
all: init consts
|
|
@echo all
|
|
|
|
compile: all
|
|
@echo compile
|
|
|
|
init:
|
|
|
|
install: compile
|
|
|
|
clean:
|
|
rm -f ${SLSRCPKG}/OCRConsts.java
|
|
|
|
SLPKG = com/sequencelogic/sleds
|
|
SLCLASSPKG = classes/${SLPKG}
|
|
SLSRCPKG = src/main/java/${SLPKG}
|
|
|
|
${SLSRCPKG}/OCRConsts.java: sledsconstants.h
|
|
@echo Generate OCRConsts.java from sledsconstants.h
|
|
${PYTHON2} sledsconstants.py
|
|
|
|
consts : ${SLSRCPKG}/OCRConsts.java
|
|
|
|
test:
|
|
@echo No tests necessary for generated code
|