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 $@ $(LIBS) | |
tcprpf-server: tcprpf-server.o $(OBJECTS) | |
$(CC) $^ -o $@ $(LIBS) | |
clean: | |
rm -f $(OBJECTS) tcprpf-client.o tcprpf-server.o tcprpf-client tcprpf-server |