2
0
Эх сурвалжийг харах

Changed the hard coded "gcc" to "$(CC)" to facilitate change the compiler to clang

mingodad 13 жил өмнө
parent
commit
1e3a3cdf2d

+ 3 - 3
sqstdlib/Makefile

@@ -26,16 +26,16 @@ SRCS= \
 	
 	
 	
 	
 sq32:
 sq32:
-	gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+	$(CC) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
 	ar rc $(OUT) *.o
 	ar rc $(OUT) *.o
 	rm *.o
 	rm *.o
 
 
 sqprof:
 sqprof:
-	gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+	$(CC) -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
 	ar rc $(OUT) *.o
 	ar rc $(OUT) *.o
 	rm *.o
 	rm *.o
 	
 	
 sq64:
 sq64:
-	gcc -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+	$(CC) -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
 	ar rc $(OUT) *.o
 	ar rc $(OUT) *.o
 	rm *.o
 	rm *.o