Commit e7d5db7d authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Create a global Makefile

parent aef9d810
Loading
Loading
Loading
Loading

src/Makefile

0 → 100644
+18 −0
Original line number Diff line number Diff line
SUBDIRS := $(wildcard */.)

all: $(SUBDIRS)

$(SUBDIRS):
	$(MAKE) -C $@

clean:
	rm -f $(BUILDDIR)/cluster/*.o
	rm -f $(BUILDDIR)/sphere/*.o
	rm -f $(BUILDDIR)/trapping/*.o

wipe:
	rm -f $(BUILDDIR)/cluster/*
	rm -f $(BUILDDIR)/sphere/*
	rm -f $(BUILDDIR)/trapping/*

.PHONY: all $(SUBDIRS)