# # Makefile for tests # # (c)Copyright 1993-2014, Matthew Dillon, All Rights Reserved. See the # COPYRIGHT file at the base of the distribution. MODULE= tests UTILS= ttest.c NOINSTALL= CFLAGS+= -I.. .include "../Makefile.inc" # XXX all: libc_test: ${CC} ${CFLAGS} -DDDC_GEN libc.c ${LFLAGS} -o $(DESTDIR)/libc.gen dcc libc.c -CTOD libc.so -I/usr/include -o $(DESTDIR)/libc.d.new $(DESTDIR)/libc.gen >> $(DESTDIR)/libc.d.new mv -f $(DESTDIR)/libc.d.new $(DESTDIR)/libc.d clean_before: rm -f $(DESTDIR)/libc.d