Lines 48-61
Link Here
|
48 |
igclient igdaemon: libiguanaIR.so |
48 |
igclient igdaemon: libiguanaIR.so |
49 |
|
49 |
|
50 |
libiguanaIR.so: iguanaIR.o support.o dataPackets.o pipes.o base.o |
50 |
libiguanaIR.so: iguanaIR.o support.o dataPackets.o pipes.o base.o |
51 |
$(CC) -shared $(CPPFLAGS) $^ -lpopt -lrt -o $@ |
51 |
$(CC) -shared $(CPPFLAGS) $^ -o $@ -lpopt -lrt |
52 |
|
52 |
|
53 |
igdaemon: daemon.o client-interface.o device-interface.o usbclient.o \ |
53 |
igdaemon: daemon.o client-interface.o device-interface.o usbclient.o \ |
54 |
list.o compatibility.o |
54 |
list.o compatibility.o |
55 |
$(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) -lusb -L. -liguanaIR -o $@ |
55 |
$(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ -L. -liguanaIR -lusb -lpopt |
56 |
|
56 |
|
57 |
igclient: client.o list.o |
57 |
igclient: client.o list.o |
58 |
$(CC) $(CPPFLAGS) $^ -lpopt -L. -liguanaIR -o $@ |
58 |
$(CC) $(CPPFLAGS) $^ -o $@ -L. -liguanaIR -lpopt |
59 |
|
59 |
|
60 |
%.o: %.c Makefile iguanaIR.h |
60 |
%.o: %.c Makefile iguanaIR.h |
61 |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ |
61 |
$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ |
Lines 71-77
Link Here
|
71 |
swig $(CPPFLAGS) -python $< |
71 |
swig $(CPPFLAGS) -python $< |
72 |
|
72 |
|
73 |
_iguanaIR.so: iguanaIR_wrap.c |
73 |
_iguanaIR.so: iguanaIR_wrap.c |
74 |
$(CC) $(CPPFLAGS) -shared $(CFLAGS) -Wno-strict-aliasing -Wno-unused -Wno-implicit-function-declaration -Wno-long-long @PYTHON_CPPFLAGS@ $^ -L. -liguanaIR -o $@ |
74 |
$(CC) $(CPPFLAGS) -shared $(CFLAGS) -Wno-strict-aliasing -Wno-unused -Wno-implicit-function-declaration -Wno-long-long @PYTHON_CPPFLAGS@ $^ -o $@ -L. -liguanaIR |
75 |
endif |
75 |
endif |
76 |
|
76 |
|
77 |
.PHONY: install |
77 |
.PHONY: install |