mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-05 04:40:06 +08:00
install fix
This commit is contained in:
parent
fe203057c2
commit
8da2d689df
4
Makefile
4
Makefile
@ -127,7 +127,9 @@ bcheck.o: bcheck.c
|
|||||||
install: tcc_install libinstall
|
install: tcc_install libinstall
|
||||||
|
|
||||||
tcc_install: tcc tcc.1 libtcc1.a bcheck.o
|
tcc_install: tcc tcc.1 libtcc1.a bcheck.o
|
||||||
|
mkdir -p $(bindir)
|
||||||
$(INSTALL) -m755 tcc $(bindir)
|
$(INSTALL) -m755 tcc $(bindir)
|
||||||
|
mkdir -p $(mandir)/man1
|
||||||
$(INSTALL) tcc.1 $(mandir)/man1
|
$(INSTALL) tcc.1 $(mandir)/man1
|
||||||
mkdir -p $(libdir)/tcc
|
mkdir -p $(libdir)/tcc
|
||||||
mkdir -p $(libdir)/tcc/include
|
mkdir -p $(libdir)/tcc/include
|
||||||
@ -157,7 +159,9 @@ tcc_p: tcc.c Makefile
|
|||||||
|
|
||||||
# libtcc generation and example
|
# libtcc generation and example
|
||||||
libinstall: libtcc.a
|
libinstall: libtcc.a
|
||||||
|
mkdir -p $(libdir)
|
||||||
$(INSTALL) -m644 libtcc.a $(libdir)
|
$(INSTALL) -m644 libtcc.a $(libdir)
|
||||||
|
mkdir -p $(includedir)
|
||||||
$(INSTALL) -m644 libtcc.h $(includedir)
|
$(INSTALL) -m644 libtcc.h $(includedir)
|
||||||
|
|
||||||
libtcc.o: tcc.c i386-gen.c bcheck.c Makefile
|
libtcc.o: tcc.c i386-gen.c bcheck.c Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user