top_srcdir = @top_srcdir@
VPATH = @srcdir@
-CPPFLAGS = -I$(top_srcdir)/include -I../..
+CPPFLAGS = -I${top_srcdir}/include -I../..
CFLAGS = -g -Wall
TESTPROGS = \
all: ${TESTPROGS}
+build: ${TESTPROGS}
+
+depend:
+
ircd_chattr_t: ircd_chattr_t.o test_stub.o ../ircd_string.o
${CC} -o $@ $^
${CC} -o $@ $^
ircd_in_addr_t: ircd_in_addr_t.o test_stub.o ../ircd_alloc.o ../ircd_string.o ../match.o ../numnicks.o
- $(CC) -o $@ $^
+ ${CC} -o $@ $^
+
+.PHONY: distclean clean
-.PHONY: clean
+distclean: clean
+ rm -f Makefile
clean:
rm -f core *.o ${TESTPROGS}