Update 1988/westley/try.sh
Allow one to specify CC=foo to compile with a different compiler. If CC is empty it will be set to 'cc'. One can specify a path in which case it'll be that path; otherwise the shell will work it out. Of course if it's not a compiler that's another matter entirely. Also remove check for 'westley' existing already because 'make' will do that via the Makefile. And although not strictly necessary the ints used in the program were changed to floats as they are floats. Updated CSILENCE in Makefile.
This commit is contained in:
1 parent
dd3c3b7f61
commit
e71f9d61f7
4 files changed
+21
-11
No files matched your search
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-return-type \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -62,7 +62,7 @@ CDEFINE=
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
CINCLUDE=
|
||||
CINCLUDE= -include stdio.h
|
||||
|
||||
# Optimization
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user