1 CXXFLAGS
= -g
-Wall
-O
-std
=gnu
++0x
2 CXXFLAGS
+= -MMD
-MP
-MF
$@.d
5 OBJ
:= time
/timer.o time
/test-time-source.o
8 OBJ
+= pc/i8254.o
pc/mc146818a.o
pc/i8042.o
9 #OBJ += pc/i8042.o pc/southbridge.o
10 OBJ
+= ps2
/ps2.o ps2
/ps2_keyboard.o ps2
/ps2_mouse.o
11 OBJ
+= marshal
/marshal.o marshal
/xmlwriter.o
14 PROGS
:= test-i8254 test-mc146818a test-timer test-marshal test-array test-kbd
15 PROGS
+= test-i8042
#test-southbridge test-regio
20 $(CXX
) -c
-o
$@
$(CXXFLAGS
) $<
22 test-
%: test/test-
%.o
$(OBJ
)
23 $(CXX
) -o
$@
$(LDFLAGS
) $^
$(LDLIBS
)
29 @for i in
$(PROGS
); do \
34 $(RM
) */*.o
*/*~
$(PROGS
)