2006-07-14 07:31:37 +00:00
|
|
|
include ../Makefile.common
|
|
|
|
|
|
|
|
BIN := main$(BIN_SUFFIX)
|
2011-09-29 19:56:39 +00:00
|
|
|
SRC := main.cpp strong.cpp LockTest.cpp colvin_gibbons_trick.cpp
|
2006-07-14 07:31:37 +00:00
|
|
|
OBJ := $(SRC:.cpp=.o)
|
|
|
|
LDLIBS += -lpthread
|
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
|