summaryrefslogtreecommitdiff
path: root/rotord/Makefile
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-05-02 18:35:29 +0100
committerTim Redfern <tim@herge.(none)>2013-05-02 18:35:29 +0100
commit4aa8f7c20c5e8bbe1ed9b007a1193ced8b019f4d (patch)
treea15b5161b4bdff3f3115355e6e34229595876dfa /rotord/Makefile
parent836848622f85231c3ff6b9af49704fec4c035df4 (diff)
include problems - added makde Clang for clarity
Diffstat (limited to 'rotord/Makefile')
-rw-r--r--rotord/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rotord/Makefile b/rotord/Makefile
index 2d9b597..4735e7a 100644
--- a/rotord/Makefile
+++ b/rotord/Makefile
@@ -99,6 +99,10 @@ LINK.cxx = $(CXX) $(MY_CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
all: Release
+Clang: CXX = clang
+
+Clang: $(PROGRAM)
+
Release: CXXFLAGS += -O2
Release: $(PROGRAM)
@@ -202,6 +206,7 @@ ifneq ($(DEPS),)
endif
endif
+
clean:
$(RM) $(OBJS) $(PROGRAM) $(PROGRAM).exe