aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbellard <bellard>2002-09-08 22:46:32 +0000
committerbellard <bellard>2002-09-08 22:46:32 +0000
commitd8ef07df04443465600f94e8c5d769899a2e4d27 (patch)
treea3a860c837938f683eab08a40344fb5407815de3 /Makefile
parent10f5d44f43cd6e93a17fb00aa63c79bb13fc0a81 (diff)
downloadtinycc-d8ef07df04443465600f94e8c5d769899a2e4d27.tar.gz
tinycc-d8ef07df04443465600f94e8c5d769899a2e4d27.tar.bz2
added tcc_relocate() and tcc_get_symbol()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 47494f0..1267e26 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
# Tiny C Compiler Makefile
#
prefix=/usr/local
+manpath=$(prefix)/man
CFLAGS=-O2 -g -Wall
LIBS=-ldl
@@ -117,7 +118,7 @@ bcheck.o: bcheck.c
install: tcc libtcc1.o bcheck.o
$(INSTALL) -m755 tcc $(prefix)/bin
- $(INSTALL) tcc.1 $(prefix)/man/man1
+ $(INSTALL) tcc.1 $(manpath)/man1
mkdir -p $(prefix)/lib/tcc
mkdir -p $(prefix)/lib/tcc/include
$(INSTALL) -m644 libtcc1.o bcheck.o $(prefix)/lib/tcc