aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c092370..1488c1b 100644
--- a/Makefile
+++ b/Makefile
@@ -271,10 +271,17 @@ else
INSTALLBIN=$(INSTALL)
endif
+ifdef CONFIG_WIN32
+CONFIG_WIN=yes
+endif
+ifdef CONFIG_WIN64
+CONFIG_WIN=yes
+endif
+
install-strip: install
strip $(foreach PROG,$(PROGS),"$(bindir)"/$(PROG))
-ifndef CONFIG_WIN32
+ifndef CONFIG_WIN
install: $(PROGS) $(TCCLIBS) $(TCCDOCS)
mkdir -p "$(bindir)"
$(INSTALLBIN) -m755 $(PROGS) "$(bindir)"