summaryrefslogtreecommitdiff
path: root/util/flashrom/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-11-24 10:45:34 +0000
committerStefan Reinauer <stepan@openbios.org>2005-11-24 10:45:34 +0000
commit7d5c7a7f1794cf846f2b62813c81f0f2a0ac5b54 (patch)
tree3ea89e5f20c249f3c0c8f31408577d3141214d3a /util/flashrom/Makefile
parente0e137844adc8366de58514b10ed962da46ce77b (diff)
downloadcoreboot-7d5c7a7f1794cf846f2b62813c81f0f2a0ac5b54.tar.xz
rename the directory to match the program name
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2102 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/Makefile')
-rw-r--r--util/flashrom/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile
new file mode 100644
index 0000000000..9d4124f31f
--- /dev/null
+++ b/util/flashrom/Makefile
@@ -0,0 +1,33 @@
+OBJS = flash_enable.o udelay.o jedec.o sst28sf040.o am29f040b.o mx29f002.c sst39sf020.o \
+ m29f400bt.o w49f002u.o 82802ab.o msys_doc.o pm49fl004.o sst49lf040.o sst_fwhub.o
+CC = gcc -O2 -g -Wall -Werror
+
+all: flash_rom flash_on
+
+flash_rom: flash_rom.o ${OBJS}
+ ${CC} -o flash_rom flash_rom.c ${OBJS} -lpci
+
+flash_on: flash_on.c
+ ${CC} -o flash_on flash_on.c
+
+clean:
+ rm -f flash_rom flash_on *.o *~
+
+flash_rom.o: flash_rom.c flash.h jedec.h \
+ 82802ab.h am29f040b.h m29f400bt.h msys_doc.h mx29f002.h sst28sf040.h \
+ sst39sf020.h w49f002u.h sst49lf040.h
+flash_on.o: flash_on.c
+
+82802ab.o: 82802ab.c 82802ab.h flash.h
+am29f040b.o: am29f040b.c am29f040b.h jedec.h flash.h
+m29f400bt.o: m29f400bt.c m29f400bt.h flash.h
+msys_doc.o: msys_doc.c msys_doc.h flash.h
+mx29f002.o: mx29f002.c mx29f002.h jedec.h flash.h
+sst28sf040.o: sst28sf040.c sst28sf040.h jedec.h flash.h
+sst39sf020.o: sst39sf020.c sst39sf020.h jedec.h flash.h
+sst49lf040.o: sst49lf040.c sst49lf040.h jedec.h flash.h
+w49f002u.o: w49f002u.c w49f002u.h jedec.h flash.h
+pm49fl004.o: pm49fl004.c pm49fl004.h jedec.h flash.h
+flash_enable.o: flash_enable.c
+udelay.o: udelay.c
+jedec.o: jedec.c jedec.h flash.h