aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/asm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/asm/Makefile')
-rw-r--r--code/tools/asm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/code/tools/asm/Makefile b/code/tools/asm/Makefile
index a6202ae..852afa6 100644
--- a/code/tools/asm/Makefile
+++ b/code/tools/asm/Makefile
@@ -7,6 +7,12 @@ else
BINEXT=
endif
+ifeq ($(PLATFORM),SunOS)
+ INSTALL=ginstall
+else
+ INSTALL=install
+endif
+
CC=gcc
Q3ASM_CFLAGS=-O2 -Wall -Werror -fno-strict-aliasing
@@ -19,7 +25,7 @@ clean:
rm -f q3asm *~ *.o
install: default
- install -s -m 0755 q3asm$(BINEXT) ../
+ $(INSTALL) -s -m 0755 q3asm$(BINEXT) ../
uninstall:
rm -f ../q3asm$(BINEXT)