2006-07-14 07:31:37 +00:00
|
|
|
include ../Makefile.common
|
|
|
|
|
|
|
|
BIN := main$(BIN_SUFFIX)
|
|
|
|
SRC := main.cpp
|
|
|
|
OBJ := $(SRC:.cpp=.o)
|
|
|
|
CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-04-18 07:29:41 +00:00
|
|
|
.PHONY: all clean
|
|
|
|
all: $(BIN)
|
2006-07-14 07:31:37 +00:00
|
|
|
clean: cleandeps
|
2006-04-18 07:29:41 +00:00
|
|
|
$(RM) $(BIN)
|
|
|
|
$(RM) $(OBJ)
|
|
|
|
|
|
|
|
$(BIN): $(OBJ)
|
|
|
|
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
2006-07-14 07:31:37 +00:00
|
|
|
|
|
|
|
include ../../Makefile.deps
|