/[H7]/branches/linux-serial/Makefile
ViewVC logotype

Annotation of /branches/linux-serial/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59 - (hide annotations) (download)
Mon Feb 5 16:44:05 2007 UTC (17 years, 4 months ago) by torben
File size: 350 byte(s)
Build the 3 serial classes as a static link library


1 torben 46
2 torben 59 #CXXFLAGS=-fexceptions -g3 -DDEBUG
3     CXXFLAGS=-O2
4 torben 45
5 torben 59 serial: libcppserial.a serial1.o
6     g++ $(CXXFLAGS) -o serial serial1.o -lcppserial -L.
7    
8     libcppserial.a: H7Serial.o SlipSerial.o Serial.o
9     ar cq libcppserial.a H7Serial.o SlipSerial.o Serial.o
10    
11 torben 45 .PHONY: clean
12 torben 53 .PHONY: test
13 torben 45
14 torben 53 test: serial
15     ./serial /dev/ttyS0
16    
17 torben 45 clean:
18     rm -f *.o
19     rm -f *~
20     rm -f serial

  ViewVC Help
Powered by ViewVC 1.1.20