diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-02-25 17:51:10 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-02-25 17:51:10 +0000 |
| commit | 58792f6cfd314499264183a5f63d8539e8b1e5e5 (patch) | |
| tree | 4e504f7a901a06a5d6929656d3791d8fbad6fd64 /rotord/Makefile | |
| parent | d5193b058ca06db9bda772ccdf49a8c4976c7274 (diff) | |
threads stopping and starting
Diffstat (limited to 'rotord/Makefile')
| -rw-r--r-- | rotord/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/rotord/Makefile b/rotord/Makefile index 6d0e513..c69db89 100644 --- a/rotord/Makefile +++ b/rotord/Makefile @@ -31,7 +31,7 @@ HDREXTS = .h .H .hh .hpp .HPP .h++ .hxx .hp # The pre-processor and compiler options. # Users can override those variables from the command line. CFLAGS = -g -O2 -CXXFLAGS= -g -O2 +CXXFLAGS= # The C program compiler. #CC = gcc @@ -87,7 +87,17 @@ LINK.cxx = $(CXX) $(MY_CFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) # Delete the default suffixes .SUFFIXES: -all: $(PROGRAM) +all: Release + +Release: CXXFLAGS += -O2 + +Release: $(PROGRAM) + +Debug: CXXFLAGS += -g3 + +Debug: $(PROGRAM) + + # Rules for creating dependency files (.d). #------------------------------------------ |
