From 6db2edf9c6c8221e4ab10047cd4fcab4111c9cde Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 23 May 2015 14:46:30 -0700 Subject: 1439 - support clang in addition to gcc --- enumerate/makefile | 2 +- makefile | 2 +- tangle/makefile | 2 +- 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 '{' -- cgit 1.4.1-2-gfad0