d196372fed9ad619c9f1b476a912d7851a5ffa0f
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

1) # JFlexiPix - Java implementation of FlexiPix output library
2) #
3) # Copyright 2010-2011 Stefan Schuermans <stefan blinkenarea org>
4) #
5) # This program is free software: you can redistribute it and/or modify
6) # it under the terms of the GNU General Public License as published by
7) # the Free Software Foundation, version 3 of the License.
8) #
9) #
10) # This program is distributed in the hope that it will be useful,
11) # but WITHOUT ANY WARRANTY; without even the implied warranty of
12) # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13) # GNU General Public License for more details.
14) #
15) # You should have received a copy of the GNU Lesser General Public License
16) # along with this program. If not, see <http://www.gnu.org/licenses/>.
17) # BlinkenLightsInteractiveMovieProgram
18) # Copyright (C) 2004-2011: Stefan Schuermans <stefan@schuermans.info>
19) # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
20) # a blinkenarea.org project
21) 
22) VERSION_MAJOR=0
23) VERSION_MINOR=1
24) VERSION_REVISION=0
25) 
26) JAVAC=javac
27) JAR=jar
28) KEYTOOL=keytool
29) JARSIGNER=jarsigner
30) KEYPASS=JFlexiPix
31) JAVA=java
32) PKG_PATH=org/blinkenarea/JFlexiPix
33) PKG_PATH_EX=$(PKG_PATH)/examples
34) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

35) CLASSES=AddrParser Config Constants Display Distri \
Stefan Schuermans remaining parts of config p...

Stefan Schuermans authored 13 years ago

36)         Mapping MessageIf MsgType Pixel PixelParser Version
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

37) CLASSES_EX=Blink Msg
38) CLASS_FILES=$(addprefix $(PKG_PATH)/,$(addsuffix .class,$(CLASSES)))
39) CLASS_FILES_EX=$(addprefix $(PKG_PATH_EX)/,$(addsuffix .class,$(CLASSES_EX)))
40) CONFIG_EX=$(PKG_PATH_EX)/config/single8x8.flp
41) 
42) CLASSPATH=.
43) 
44) .PHONY: all clean jar blink
45) .SUFFIXES:
46) .SECONDARY:
47) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

48) all: jar $(CLASS_FILES_EX)
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

49) 
50) clean:
Stefan Schuermans cleanup generated exmaple c...

Stefan Schuermans authored 13 years ago

51) 	rm -f $(PKG_PATH)/Version.java
52) 	rm -f $(CLASS_FILES)
53) 	rm -f JFlexiPix.jar
54) 	rm -f $(CLASS_FILES_EX)
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

55) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

56) jar: JFlexiPix.jar
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

57) 
58) blink: $(PKG_PATH_EX)/Blink.class
59) 	$(JAVA) -classpath . $(subst /,.,$(basename $<)) $(CONFIG_EX)
60) 
Stefan Schuermans implemented more parts of c...

Stefan Schuermans authored 13 years ago

61) $(CLASS_FILES_EX): $(CLASS_FILES)
62)