File: Makefile

package info (click to toggle)
bash-completion 1%3A2.16.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,440 kB
  • sloc: python: 11,252; makefile: 2,471; sh: 934; perl: 85; awk: 55; xml: 29; ansic: 7; java: 5; ruby: 2
file content (46 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$(info confuse: make)

CFLAGS=-MMD -MP
NAME := sample

.PHONY: all
all: $(NAME)

$(NAME): sample.o

.INTERMEDIATE: sample.o
sample.o: sample.c

.PHONY: install
install: all
	mkdir -p /usr/bin
	install -m 755 $(NAME) /usr/bin

.PHONY: clean
clean:
	-rm -f $(NAME)

.test_passes:
	./sample >/dev/null
	touch ^@

.cache/.1:
	touch $@

.cache/.2:
	touch $@

.cache/1:
	touch $@

.cache/2:
	touch $@

ifndef __BASH_MAKE_COMPLETION__
-include sample.d
endif

VARIABLE_LOOKS_A_BIT_LIKE_A_TARGET := fooled-you
extra_makefile:
	touch $@
include extra_makefile