mirror of
https://github.com/agdsn/xerxes.git
synced 2026-06-19 21:58:01 +00:00
2dacef4bc0
the plan is to call the program for each source, for example: xerxes --src tcp:127.0.0.1:3306 --dst tcp:anywhere:3306 xerxes --src unix:/path/to/socket --dst tcp:anywhere:3306 but its a lot to do
16 lines
257 B
Makefile
16 lines
257 B
Makefile
OBJECTS=xerxes.cxx socket.cxx epoll.cxx
|
|
BIN=xerxes
|
|
|
|
$(BIN): $(OBJECTS)
|
|
g++ -o $(BIN) $(OBJECTS) -Wall -pedantic -ggdb -lboost_regex -lboost_program_options
|
|
|
|
all: $(BIN)
|
|
|
|
test: $(BIN)
|
|
./$(BIN)
|
|
|
|
clean:
|
|
rm -f $(BIN) *.o *.cxx~ *.hxx~ Makefile~
|
|
|
|
.PHONY: all
|