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

Diff of /branches/linux-serial/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 46 by torben, Sun Feb 4 23:11:02 2007 UTC revision 60 by torben, Mon Feb 5 20:34:51 2007 UTC
# Line 1  Line 1 
1    
2  CXXFLAGS=-fexceptions -g3  #CXXFLAGS=-fexceptions -g3 -DDEBUG
3  serial: H7Serial.o SlipSerial.o Serial.o serial1.o  CXXFLAGS=-O2
4          g++ $(CXXFLAGS) -o serial H7Serial.o SlipSerial.o Serial.o serial1.o  
5    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  .PHONY: clean  .PHONY: clean
12    .PHONY: test
13    
14    test: serial
15            ./serial /dev/ttyS0
16    
17  clean:  clean:
18          rm -f *.o          rm -f *.o
19          rm -f *~          rm -f *~
20          rm -f serial          rm -f serial
21            rm -f *.a
22    
23    

Legend:
Removed from v.46  
changed lines
  Added in v.60

  ViewVC Help
Powered by ViewVC 1.1.20