fix makefile, add LICENSE back
This commit is contained in:
parent
42278772b1
commit
81f099ba87
|
@ -0,0 +1,34 @@
|
|||
MIT/X Consortium License
|
||||
|
||||
© 2014-2022 Hiltjo Posthuma <hiltjo at codemadness dot org>
|
||||
© 2018 Devin J. Pohly <djpohly at gmail dot com>
|
||||
© 2014-2017 Quentin Rameau <quinq at fifth dot space>
|
||||
© 2009-2012 Aurélien APTEL <aurelien dot aptel at gmail dot com>
|
||||
© 2008-2017 Anselm R Garbe <garbeam at gmail dot com>
|
||||
© 2012-2017 Roberto E. Vargas Caballero <k0ga at shike2 dot com>
|
||||
© 2012-2016 Christoph Lohmann <20h at r-36 dot net>
|
||||
© 2013 Eon S. Jeon <esjeon at hyunmu dot am>
|
||||
© 2013 Alexander Sedov <alex0player at gmail dot com>
|
||||
© 2013 Mark Edgar <medgar123 at gmail dot com>
|
||||
© 2013-2014 Eric Pruitt <eric.pruitt at gmail dot com>
|
||||
© 2013 Michael Forney <mforney at mforney dot org>
|
||||
© 2013-2014 Markus Teich <markus dot teich at stusta dot mhn dot de>
|
||||
© 2014-2015 Laslo Hunhold <dev at frign dot de>
|
||||
|
||||
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.
|
12
Makefile
12
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue