summaryrefslogtreecommitdiffstats
path: root/tools/dmidecode/Makefile
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-25 10:32:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-25 10:32:05 +0000
commit851e3fd1c0cc0b586ef0d72cab3db560097adc20 (patch)
treefffe0bf23a1a2ec51fa58179c38c462bfb9621e6 /tools/dmidecode/Makefile
parentb2fc3e0b481bb6f9fc9a7aa4d186238e78211598 (diff)
downloaddrakx-backup-do-not-use-851e3fd1c0cc0b586ef0d72cab3db560097adc20.tar
drakx-backup-do-not-use-851e3fd1c0cc0b586ef0d72cab3db560097adc20.tar.gz
drakx-backup-do-not-use-851e3fd1c0cc0b586ef0d72cab3db560097adc20.tar.bz2
drakx-backup-do-not-use-851e3fd1c0cc0b586ef0d72cab3db560097adc20.tar.xz
drakx-backup-do-not-use-851e3fd1c0cc0b586ef0d72cab3db560097adc20.zip
added dmidecode
Diffstat (limited to 'tools/dmidecode/Makefile')
-rw-r--r--tools/dmidecode/Makefile17
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