1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
ifeq ($(SRCDIR)x,x) SRCDIR = $(CURDIR)/.. BUILDDIR = $(SRCDIR) endif SUBDIR = test VPATH = .:$(SRCDIR)/$(SUBDIR) include $(BUILDDIR)/config.mk MERGE_OBJECTS = PROGS = testrandom all: $(PROGS) PORTBINARIES = testrandom OBJECTS = $(PORTBINARIES:%=%.o) OMIT_TEST_RULE = 1 include $(SRCDIR)/common.mk distclean clean: cleanlocal .PHONY: cleanlocal cleanlocal: rm -f $(PROGS)