summaryrefslogtreecommitdiff
path: root/rotord/Makefile
diff options
context:
space:
mode:
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