File: common.mk

package info (click to toggle)
libixp 0.5-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 608 kB
  • sloc: ansic: 4,857; sh: 96; makefile: 75
file content (20 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all:

install: all

MANDIRS=$(MAN)/man1
mkdirs:
	for i in $(BIN) $(ETC) $(LIBDIR) $(MANDIRS) $(INCLUDE) $(DIRS); do \
		test -d $$i || echo MKDIR $$i; \
		mkdir -pm 0755 $$i; \
	done

cleandep:
	echo CLEANDEP
	rm .depend 2>/dev/null || true

DEP:=${shell if test -f .depend;then echo .depend;else echo /dev/null; fi}
DEP!=echo /dev/null
include $(DEP)

.PHONY: all options clean dist install uninstall depend cleandep