# Steering Wheel Remote # # Douglas Thrift # # $Id$ common := $(shell realpath $(CURDIR)/../Common) include $(common)/common.mk 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 "$(bright)$(white)$(CXX)\t$(blue)[$(reset)$(+F)$(bright)$(blue)]$(reset)" @$(CXX) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS) @echo "$(bright)$(white)$(CXX)\t$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)" Audacious.o: Audacious.cpp @echo "$(bright)$(white)$(CXX)\t$(blue)[$(reset)$(