Skip to content
Snippets Groups Projects
Commit d48fa76f authored by Mike Collins's avatar Mike Collins
Browse files

Updated Makefile for testing and choosing specific compilers. More work to do...

Updated Makefile for testing and choosing specific compilers. More work to do on makefile in the future.
parent 3c8fbfc6
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,16 @@
#
# C compiler to use (Compiler path can be changed by the user)
#COMPILER = clang
#COMPILER = gcc
COMPILER = cc
#CCFLAGS = -g -DLE -m32 -I/usr/include -I../include
#CCFLAGS = -m32 -Wall -Wextra -Wdouble-promotion -Wnonnull -Wnull-dereference -Winit-self -Wimplicit-fallthrough=4 -Wunused-function -Wunused-label -Wunused -Wuninitialized -Wstringop-overflow -Walloca -I/usr/include -I../include
#CCFLAGS = -m32 -Wall -Wextra -Wdouble-promotion -Wnonnull -Wnull-dereference -Winit-self -Wimplicit-fallthrough=4 -Wunused-function -Wunused-label -Wunused -Wuninitialized -Wstringop-overflow -Walloca -I/usr/include -I../include
#CCFLAGS = -fPIC -I/usr/include -I../include
CCFLAGS = -m32 -I/usr/include -I../include
#PCA = cc $(CCFLAGS) -D STATIC_CCFLAGS='"$(CCFLAGS)"' -c xsun=1 -I../include/ -I/usr/include
PCA = cc $(CCFLAGS) -D STATIC_CCFLAGS='"$(CCFLAGS)"' -c
PCA = $(COMPILER) $(CCFLAGS) -D STATIC_CCFLAGS='"$(CCFLAGS)"' -c
# math lib for sin, cos, sqrt etc.
LIBS = -lm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment