12345678910111213141516171819202122 |
- TARGET = proxy2ch.exe
- SOURCES = main.cpp BBS2chProxyConnection.cpp BBS2chProxyAuth.cpp DataStorage.cpp
- OBJS = $(SOURCES:.cpp=.o)
- .PHONY: all
- all : $(TARGET)
- $(TARGET) : $(OBJS)
- $(CXX) $^ -o $(TARGET) -static-libgcc -static-libstdc++ -lcurldll -lpthread -lwsock32 -lws2_32 -lregex
- .cpp.o:
- $(CXX) -O2 -c $<
- .PHONY: depend
- depend:
- $(CXX) -MM $(CFLAGS) $(SOURCES) > dependencies
- .PHONY: clean
- clean :
- rm -f $(OBJS) $(TARGET)
- include dependencies
|