Improved help. Moving to 0.2.
CC=gcc
CFLAGS=-g -Wall -O0
OBJECTS=main.o unix_client.o unix_server.o error.o signals.o gen_sockets.o \
app_control.o \
client.o \
server.o \
app_term.o \
client_term.o \
user_term.o \
tcp_server.o \
simple_math.o \
xterm.o \
dump.o \
filter.o \
filter_string.o \
filter_telnet.o
all: tm test_filter
tm: $(OBJECTS)
$(CC) -o $@ -lutil $^
test_filter: test_filter.o filter.o simple_math.o filter_string.o
clean:
rm -f $(OBJECTS) stdinmix
main.o: main.c main.h handlers.h
unix_server.o: unix_server.c main.h handlers.h
unix_client.o: unix_client.c main.h handlers.h
error.o: error.c main.h
signals.o: signals.c main.h
gen_sockets.o: gen_sockets.c main.h
app_control.o: app_control.c main.h handlers.h
client.o: client.c main.h handlers.h
server.o: server.c main.h handlers.h
app_term.o: app_term.c main.h
client_term.o: client_term.c main.h
user_term.o: user_term.c main.h
tcp_server.o: tcp_server.c main.h handlers.h
simple_math.o: simple_math.c main.h
filter.o: filter.c filter.h main.h
test_filter.o: test_filter.c filter.h
filter_string.o: filter_string.c filter.h
filter_telnet.o: filter_telnet.c filter.h
xterm.o: xterm.c main.h
dump.o: dump.c main.h