8e6a05d0fccf6e60f385789f51ca8821224f088a
[ircu2.10.12-pk.git] / ircd / test / Makefile.in
1 top_srcdir = @top_srcdir@
2 VPATH = @srcdir@
3 CPPFLAGS = -I$(top_srcdir)/include -I../..
4 CFLAGS   = -g -Wall
5
6 TESTPROGS = \
7         ircd_chattr_t \
8         ircd_string_t \
9         ircd_in_addr_t
10
11 all: ${TESTPROGS}
12
13 ircd_chattr_t: ircd_chattr_t.o test_stub.o ../ircd_string.o
14         ${CC} -o $@ $^
15
16 ircd_string_t: ircd_string_t.o test_stub.o ../ircd_string.o
17         ${CC} -o $@ $^
18
19 ircd_in_addr_t: ircd_in_addr_t.o test_stub.o ../ircd_alloc.o ../ircd_string.o ../match.o ../numnicks.o
20         $(CC) -o $@ $^
21
22 .PHONY: clean
23
24 clean:
25         rm -f core *.o ${TESTPROGS}