Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Patch for Makefile of dvd-cvs (and nearly every other plugin)



A thing that bugs me for quite a while now....

Synopsis: if you just call "make" in a plugin directory, only the first .c is 
compiled.

Fix: set default compile target to skip the standard rule, like here
for dvd-cvs:

*** Makefile.orig       2005-02-08 23:06:50.039271784 +0100
--- Makefile    2005-02-08 23:07:13.808658288 +0100
***************
*** 72,77 ****
--- 72,80 ----

  ### Implicit rules:

+ .PHONY: all all-redirect
+ all-redirect: all
+
  %.o: %.c
        $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<




Home | Main Index | Thread Index