root/lang/cplusplus/gainer++/Makefile

Revision 8189, 474 bytes (checked in by mootoh, 10 months ago)

lang/cplusplus/gainer++: add continuos analog input example.

Line 
1CXX = c++
2CPPFLAGS = -Wall -DDEBUG
3CXXFLAGS = -g -O0
4
5LIB = gainer
6TARGET_LIB = lib$(LIB).dylib
7
8LIBS = -L. -l$(LIB)
9
10$(TARGET_LIB): gainer.o
11        $(CXX) -dynamiclib -o $@ $^
12
13gainer-led: gainer-led.o $(TARGET_LIB)
14        $(CXX) -o $@ $^ $(LIBS)
15
16gainer-button: gainer-button.o $(TARGET_LIB)
17        $(CXX) -o $@ $^ $(LIBS)
18
19gainer-cdio: gainer-cdio.o $(TARGET_LIB)
20        $(CXX) -o $@ $^ $(LIBS)
21
22gainer-cain: gainer-cain.o $(TARGET_LIB)
23        $(CXX) -o $@ $^ $(LIBS)
24
25clean:
26        rm -f *.o $(TARGET_LIB)
Note: See TracBrowser for help on using the browser.