Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
CXX?=g++ |
| 2 |
CFLAGS+=-g -Wall -pedantic |
| 3 |
LFLAGS+= |
| 4 |
|
| 5 |
all: m16c-flash |
| 6 |
|
| 7 |
clean: |
| 8 |
rm ccomport.o |
| 9 |
rm cpage.o |
| 10 |
rm cmotfile.o |
| 11 |
rm cm16flash.o |
| 12 |
rm m16c-flash |
| 13 |
|
| 14 |
ccomport.o: ccomport.cxx ccomport.h |
| 15 |
$(CXX) $(CFLAGS) ccomport.cxx -c -o ccomport.o |
| 16 |
|
| 17 |
cpage.o: cpage.cxx cpage.h |
| 18 |
$(CXX) $(CFLAGS) cpage.cxx -c -o cpage.o |
| 19 |
|
| 20 |
cmotfile.o: cmotfile.cxx cmotfile.h |
| 21 |
$(CXX) $(CFLAGS) cmotfile.cxx -c -o cmotfile.o |
| 22 |
|
| 23 |
cm16flash.o: cm16flash.cxx cm16flash.h |
| 24 |
$(CXX) $(CFLAGS) cm16flash.cxx -c -o cm16flash.o |
| 25 |
|
| 26 |
m16c-flash: flashm16.cxx cm16flash.o cmotfile.o cpage.o ccomport.o |
| 27 |
$(CXX) $(CFLAGS) flashm16.cxx cm16flash.o cmotfile.o cpage.o ccomport.o -o m16c-flash |
| 28 |
|
| 29 |
install: |
| 30 |
cp m16c-flash /usr/bin |
| 31 |
|