Makefile
author viric@llimona
Mon, 24 Sep 2007 13:59:40 +0200
changeset 38 f1e581c862d5
parent 36 da427c23d755
child 43 625794738afc
permissions -rw-r--r--
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