about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-23 14:46:30 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-23 14:46:43 -0700
commit6db2edf9c6c8221e4ab10047cd4fcab4111c9cde (patch)
tree8cf05d45ef1be456937117fa1f2463f85de8551a
parent8cb4e3653bbaaf8a445c30d63fc6bad4c5164e87 (diff)
downloadmu-6db2edf9c6c8221e4ab10047cd4fcab4111c9cde.tar.gz
1439 - support clang in addition to gcc
-rw-r--r--enumerate/makefile2
-rw-r--r--makefile2
-rw-r--r--tangle/makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/enumerate/makefile b/enumerate/makefile
index f2d0e460..b8760460 100644
--- a/enumerate/makefile
+++ b/enumerate/makefile
@@ -1,5 +1,5 @@
 tangle: makefile
-	g++ -O3 -Wall -Wextra -fno-strict-aliasing enumerate.cc -o enumerate
+	c++ -O3 -Wall -Wextra -fno-strict-aliasing enumerate.cc -o enumerate
 
 clean:
 	-rm enumerate
diff --git a/makefile b/makefile
index 8c37e50a..9b357d5e 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
 mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a
-	g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu
+	c++ -g -Wall -Wextra -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu
 
 # To see what the program looks like after all layers have been applied, read
 # mu.cc
diff --git a/tangle/makefile b/tangle/makefile
index cf4c3a88..caf13965 100644
--- a/tangle/makefile
+++ b/tangle/makefile
@@ -1,5 +1,5 @@
 tangle: makefile type_list function_list file_list test_file_list test_list
-	g++ -g -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
+	c++ -g -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
 
 type_list: boot.cc [0-9]*.cc
 	@# assumes struct decl has space before '{'
00 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296