diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3cbf420 --- /dev/null +++ b/LICENSE @@ -0,0 +1,34 @@ +MIT/X Consortium License + +© 2014-2022 Hiltjo Posthuma +© 2018 Devin J. Pohly +© 2014-2017 Quentin Rameau +© 2009-2012 Aurélien APTEL +© 2008-2017 Anselm R Garbe +© 2012-2017 Roberto E. Vargas Caballero +© 2012-2016 Christoph Lohmann <20h at r-36 dot net> +© 2013 Eon S. Jeon +© 2013 Alexander Sedov +© 2013 Mark Edgar +© 2013-2014 Eric Pruitt +© 2013 Michael Forney +© 2013-2014 Markus Teich +© 2014-2015 Laslo Hunhold + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile index b99abc8..c516c58 100644 --- a/Makefile +++ b/Makefile @@ -11,19 +11,19 @@ OBJ = $(SRC:.c=.o) all: st terminfo -*.c: buildroot -*.h: buildroot .c.o: $(CC) $(STCFLAGS) -c $< -st.o: buildroot config.h st.h win.h -x.o: buildroot arg.h config.h st.h win.h $(LIGATURES_H) +st.o: config.h st.h win.h +x.o: arg.h config.h st.h win.h $(LIGATURES_H) config.mk: cp config/config.mk config.mk config.h: cp config/config.h config.h -$(OBJ): config.h config.mk buildroot +$(SRC): buildroot + +$(OBJ): config.h config.mk st: buildroot $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) @@ -40,7 +40,7 @@ clean: buildroot: cp config/patches.h st-flexipatch/patches.h flexipatch-finalizer/flexipatch-finalizer.sh -r -d st-flexipatch -o tmp - rm -r tmp/Makefile + rm -r tmp/Makefile tmp/config.mk patch 2>/dev/null || true mv tmp/* ./ for patch in config/patches/*.diff; do patch <"$$patch"; done