History

install fix

bellard committed 22 years ago

Commit 8da2d681 parent fe203051 file · +4 −0Browse files

Unified · Split

Makefile+4−0
@@ -127,7 +127,9 @@ bcheck.o: bcheck.c · 126 unmodified lines
127127 install: tcc_install libinstall
128128
129129 tcc_install: tcc tcc.1 libtcc1.a bcheck.o
130+ mkdir -p $(bindir)
130131 $(INSTALL) -m755 tcc $(bindir)
132+ mkdir -p $(mandir)/man1
131133 $(INSTALL) tcc.1 $(mandir)/man1
132134 mkdir -p $(libdir)/tcc
133135 mkdir -p $(libdir)/tcc/include
@@ -157,7 +159,9 @@ tcc_p: tcc.c Makefile · 23 unmodified lines
157159
158160 # libtcc generation and example
159161 libinstall: libtcc.a
162+ mkdir -p $(libdir)
160163 $(INSTALL) -m644 libtcc.a $(libdir)
164+ mkdir -p $(includedir)
161165 $(INSTALL) -m644 libtcc.h $(includedir)
162166
163167 libtcc.o: tcc.c i386-gen.c bcheck.c Makefile

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t