diff options
Diffstat (limited to 'tools/dmidecode/Makefile')
-rw-r--r-- | tools/dmidecode/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/dmidecode/Makefile b/tools/dmidecode/Makefile new file mode 100644 index 000000000..fe53436f4 --- /dev/null +++ b/tools/dmidecode/Makefile @@ -0,0 +1,17 @@ +CFLAGS=-Wall -O # -g -DDEBUG +TARGETS=dmidecode + +ARCH := $(patsubst i%86,i386,$(shell uname -m)) +ARCH := $(patsubst sparc%,sparc,$(ARCH)) + +ifeq (i386,$(ARCH)) + +dmidecode: dmidecode.o + +else +dmidecode: not_handled.c + gcc -o $@ $< +endif + +clean: + $(RM) $(TARGETS) *.o core |