sysfs: remove DEBUG defines
[linux/fpc-iii.git] / tools / wmi / Makefile
blobe664f1167388a99a76828981237e38049c6c193f
1 PREFIX ?= /usr
2 SBINDIR ?= sbin
3 INSTALL ?= install
4 CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
5 CC = $(CROSS_COMPILE)gcc
7 TARGET = dell-smbios-example
9 all: $(TARGET)
11 %: %.c
12 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
14 clean:
15 $(RM) $(TARGET)
17 install: dell-smbios-example
18 $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)