[Swift-commit] r8129 - SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Wed Aug 13 11:23:07 CDT 2014


Author: wozniak
Date: 2014-08-13 11:23:07 -0500 (Wed, 13 Aug 2014)
New Revision: 8129

Modified:
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/Makefile
Log:
Improve Makefile


Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/Makefile
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/Makefile	2014-08-13 16:02:28 UTC (rev 8128)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/05-md/Makefile	2014-08-13 16:23:07 UTC (rev 8129)
@@ -1,8 +1,9 @@
 bin = md
 
 CC = gcc
-CFLAGS = -O0 -g -fPIC
-# CFLAGS = -O3 -ffast-math -g -fPIC
+OPTZ = -O0 
+OPTS = -O3 -ffast-math
+CFLAGS = $(OPTZ) -g -fPIC -std=gnu99
 
 SRC = main.c md.c 
 OBJ = $(patsubst %.c,%.o,$(SRC))
@@ -14,7 +15,7 @@
 
 .PHONY: clean
 clean:
-	rm -f $(obj) $(bin)
+	rm -f $(OBJ) $(bin)
 
 .PHONY: install
 install:




More information about the Swift-commit mailing list