Makefile (8674cea84dc6c0b98d8f45d6f2cf348864aabf1b) | Makefile (53499109289846ac115ff2cfc78f0637df5b473d) |
---|---|
1include ../scripts/Makefile.include 2 | 1include ../scripts/Makefile.include 2 |
3bindir ?= /usr/bin 4 |
|
3ifeq ($(srctree),) 4srctree := $(patsubst %/,%,$(dir $(shell pwd))) 5srctree := $(patsubst %/,%,$(dir $(srctree))) 6endif 7 8# Do not use make's built-in rules 9# (this improves performance and avoids hard-to-debug behaviour); 10MAKEFLAGS += -r --- 46 unchanged lines hidden (view full) --- 57$(OUTPUT)gpio-event-mon: $(GPIO_EVENT_MON_IN) 58 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ 59 60clean: 61 rm -f $(ALL_PROGRAMS) 62 rm -f $(OUTPUT)include/linux/gpio.h 63 find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete 64 | 5ifeq ($(srctree),) 6srctree := $(patsubst %/,%,$(dir $(shell pwd))) 7srctree := $(patsubst %/,%,$(dir $(srctree))) 8endif 9 10# Do not use make's built-in rules 11# (this improves performance and avoids hard-to-debug behaviour); 12MAKEFLAGS += -r --- 46 unchanged lines hidden (view full) --- 59$(OUTPUT)gpio-event-mon: $(GPIO_EVENT_MON_IN) 60 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ 61 62clean: 63 rm -f $(ALL_PROGRAMS) 64 rm -f $(OUTPUT)include/linux/gpio.h 65 find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete 66 |
67install: $(ALL_PROGRAMS) 68 install -d -m 755 $(DESTDIR)$(bindir); \ 69 for program in $(ALL_PROGRAMS); do \ 70 install $$program $(DESTDIR)$(bindir); \ 71 done 72 |
|
65FORCE: 66 | 73FORCE: 74 |
67.PHONY: all clean FORCE prepare | 75.PHONY: all install clean FORCE prepare |