diff options
| author | Clifford Wolf <clifford@clifford.at> | 2015-08-07 22:26:34 +0200 |
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2015-08-07 22:26:34 +0200 |
| commit | a28dcb1ad2c46349acd9b3ee2cd53018d5b28a0b (patch) | |
| tree | 51276d3006349cdccbce93e39a82835a5dbc4140 /icemulti/Makefile | |
| parent | 99d93dae2296d86e77974f5607af3d92a3fc7b6a (diff) | |
| parent | d1893e1116fee67db54962dba7417508b3128b9e (diff) | |
Merge pull request #2 from zeldin/master
"Advanced SPI flash" (multiboot) tool
Diffstat (limited to 'icemulti/Makefile')
| -rw-r--r-- | icemulti/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/icemulti/Makefile b/icemulti/Makefile new file mode 100644 index 0000000..0b4e0aa --- /dev/null +++ b/icemulti/Makefile @@ -0,0 +1,24 @@ +# CXX = clang +LDLIBS = -lm -lstdc++ +CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 +CC = $(CXX) +DESTDIR = /usr/local + +all: icemulti + +icemulti: icemulti.o + +install: all + cp icemulti $(DESTDIR)/bin/icemulti + +uninstall: + rm -f $(DESTDIR)/bin/icemulti + +clean: + rm -f icemulti + rm -f *.o *.d + +-include *.d + +.PHONY: all install uninstall clean + |
