ifeq ($(CC),cc) | |
CC = gcc | |
endif | |
CFLAGS += -Wall -O1 -g | |
OBJECTS = forward.o syncrw.o | |
all: tcprpf-client tcprpf-server | |
tcprpf-client: tcprpf-client.o $(OBJECTS) | |
$(CC) $^ -o $@ | |
tcprpf-server: tcprpf-server.o $(OBJECTS) | |
$(CC) $^ -o $@ | |
clean: | |
rm -f $(OBJECTS) tcprpf-client.o tcprpf-server.o tcprpf-client tcprpf-server |