[Swift-commit] r8185 - SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Thu Aug 14 11:53:03 CDT 2014


Author: wozniak
Date: 2014-08-14 11:53:03 -0500 (Thu, 14 Aug 2014)
New Revision: 8185

Modified:
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile
Log:
Turn on -Wall


Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile	2014-08-14 16:47:23 UTC (rev 8184)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile	2014-08-14 16:53:03 UTC (rev 8185)
@@ -1,21 +1,21 @@
 bin = md
 
 CC = gcc
-INCLUDES := 
-OPTZ = -O0 
+INCLUDES :=
+OPTZ = -O0
 OPTS = -O3 -ffast-math
-CFLAGS = $(OPTZ) -g -fPIC -std=gnu99 $(INCLUDES)
+CFLAGS = $(OPTZ) -g -fPIC -std=gnu99 -Wall $(INCLUDES)
 
-SRC = main.c md.c 
+SRC = main.c md.c
 OBJ = $(patsubst %.c,%.o,$(SRC))
 
 all: $(bin)
 
-# Link stand-alone executable: 
+# Link stand-alone executable:
 $(bin): $(OBJ)
 	$(CC) -o $(@) $(OBJ) -lm
 
-# Swift/T integration: 
+# Swift/T integration:
 
 USE_SWIFT = 1
 ifeq ($(USE_SWIFT),1)
@@ -42,7 +42,7 @@
 	LEAF_SO=$(<) LEAF_TCL=md.tcl \
 	$(TCLSH) ./make-package.tcl > $(@)
 
-clean:: 
+clean::
 	rm -fv pkgIndex.tcl libtclmd.so md_wrap.*
 
 endif # Swift/T
@@ -58,4 +58,3 @@
 .PHONY: uninstall
 uninstall:
 	rm -f ../../bin/$(bin)
-




More information about the Swift-commit mailing list