Skip to content

Commit f246161

Browse files
committed
refactoring, code cleanup
1 parent cb5ce58 commit f246161

File tree

9 files changed

+1445
-982
lines changed

9 files changed

+1445
-982
lines changed

Diff for: Makefile

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
all: g13d pbm2lpbm
22

3-
g13.o: g13.h g13.cc
3+
g13.o: g13.h helper.hpp g13.cc
44
g++ -std=c++0x -c g13.cc
55

6-
g13_fonts.o: g13.h g13_fonts.cc
6+
g13_fonts.o: g13.h helper.hpp g13_fonts.cc
77
g++ -std=c++0x -c g13_fonts.cc
88

9-
g13_lcd.o: g13.h g13_lcd.cc
9+
g13_lcd.o: g13.h helper.hpp g13_lcd.cc
1010
g++ -std=c++0x -c g13_lcd.cc
11+
12+
g13_stick.o: g13.h helper.hpp g13_stick.cc
13+
g++ -std=c++0x -c g13_stick.cc
14+
15+
g13_keys.o: g13.h helper.hpp g13_keys.cc
16+
g++ -std=c++0x -c g13_keys.cc
17+
18+
helper.o: helper.hpp helper.cpp
19+
g++ -std=c++0x -c helper.cpp
20+
1121

12-
g13d: g13.o g13_fonts.o g13_lcd.o
13-
g++ -o g13d -std=c++0x g13.o g13_fonts.o g13_lcd.o -lusb-1.0
22+
g13d: g13.o g13_fonts.o g13_lcd.o g13_stick.o g13_keys.o helper.o
23+
g++ -o g13d -std=c++0x g13.o g13_fonts.o g13_lcd.o g13_stick.o g13_keys.o helper.o -lusb-1.0
1424

1525
pbm2lpbm: pbm2lpbm.c
1626
g++ -o pbm2lpbm pbm2lpbm.c

0 commit comments

Comments
 (0)