summaryrefslogtreecommitdiff
path: root/Makefile
blob: 520fc98734a660a2937418f182a8775959fd7435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUBDIRS= pnotify src
TARGET= musicfs

.PHONY: all
all: $(TARGET)

# A bit of a hack..
$(TARGET): $(SUBDIRS)
	cp src/$(TARGET) .

.PHONY: subdirs $(SUBDIRS)
$(SUBDIRS):
	$(MAKE) -C $@

clean:
	for d in $(SUBDIRS); do ($(MAKE) -C $$d clean); done
	rm -f $(TARGET)