# Steering Wheel Remote # # Douglas Thrift # # $Id$ common := $(shell realpath $(CURDIR)/../Common) CPPFLAGS := -MD -I/usr/local/include -I$(common) \ $(shell pkg-config --cflags-only-I glib-2.0) CXXFLAGS := -Wall -pedantic -g -O2 LDFLAGS := -L/usr/local/lib -L$(common) $(shell pkg-config --libs-only-L audacious) \ $(shell pkg-config --libs-only-other audacious) LDLIBS := -lpcre $(shell pkg-config --libs-only-l audacious) .PHONY: all clean all: SteeringWheelRemote SteeringWheelRemote: SteeringWheelRemote.o Audacious.o $(common)/libtruck.a @echo [$(+F)] @$(CXX) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS) @echo [$(@F)] %.o: %.cpp @echo [$(