20 |
|
all: SteeringWheelRemote |
21 |
|
|
22 |
|
SteeringWheelRemote: SteeringWheelRemote.o Audacious.o $(common)/libtruck.a |
23 |
– |
@echo "$(bright)$(white)$(CXX)\t$(blue)[$(reset)$(+F)$(bright)$(blue)]$(reset)" |
24 |
– |
@$(CXX) $(LDFLAGS) -o $@ $+ $(LOADLIBES) $(LDLIBS) |
25 |
– |
@echo "$(bright)$(white)$(CXX)\t$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)" |
23 |
|
|
24 |
|
Audacious.o: Audacious.cpp |
25 |
< |
@echo "$(bright)$(white)$(CXX)\t$(blue)[$(reset)$(<F)$(bright)$(blue)]$(reset)" |
25 |
> |
@echo "$(bright)$(white)compile\t$(blue)[$(reset)$(<F)$(bright)$(blue)]$(reset)" |
26 |
|
@$(CXX) $(CPPFLAGS) $(shell pkg-config --cflags-only-I audacious) \ |
27 |
|
$(filter-out -pedantic,$(CXXFLAGS)) \ |
28 |
|
$(shell pkg-config --cflags-only-other audacious) -c -o $@ $< |
29 |
< |
@echo "$(bright)$(white)$(CXX)\t$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)" |
29 |
> |
@echo "$(bright)$(white)compile\t$(green)[$(reset)$(@F)$(bright)$(green)]$(reset)" |
30 |
|
|
31 |
< |
$(common)/libtruck.a: $(common)/posix.o $(common)/regex.o |
31 |
> |
$(common)/libtruck.a: $(common)/truck.o $(common)/posix.o $(common)/regex.o |
32 |
|
@$(MAKE) --no-print-directory -C $(@D) $(@F) |
33 |
|
|
34 |
|
-include *.d |
35 |
|
|
36 |
|
clean: |
37 |
< |
@rm -fv SteeringWheelRemote *.core *.d *.o |
37 |
> |
@echo "$(bright)$(white)clean\t$(green)[$(reset)$(shell rm -fv \ |
38 |
> |
SteeringWheelRemote *.core *.d *.o)$(bright)$(green)]$(reset)" |