mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Removed some redundancy in the Makefile/Make.global/Make.config mechanism
This commit is contained in:
@@ -1,27 +1,16 @@
|
||||
#
|
||||
# Makefile for a libsi
|
||||
#
|
||||
# $Id: Makefile 2.3 2012/01/18 12:31:40 kls Exp $
|
||||
# $Id: Makefile 2.4 2012/12/18 13:35:54 kls Exp $
|
||||
|
||||
### The C++ compiler and options:
|
||||
### The archiver options:
|
||||
|
||||
CXX ?= g++
|
||||
CXXFLAGS ?= -O2 -g -Wall -Woverloaded-virtual
|
||||
AR ?= ar
|
||||
ARFLAGS ?= ru
|
||||
RANLIB ?= ranlib
|
||||
|
||||
include ../Make.global
|
||||
-include ../Make.config
|
||||
|
||||
### The directory environment:
|
||||
|
||||
INCLUDES +=
|
||||
|
||||
DEFINES +=
|
||||
|
||||
LIBS +=
|
||||
|
||||
### The object files (add further files here):
|
||||
|
||||
OBJS = util.o si.o section.o descriptor.o
|
||||
@@ -31,7 +20,7 @@ OBJS = util.o si.o section.o descriptor.o
|
||||
%.o: %.c
|
||||
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
|
||||
|
||||
# Dependencies:
|
||||
### Dependencies:
|
||||
|
||||
MAKEDEP = $(CXX) -MM -MG
|
||||
DEPFILE = .dependencies
|
||||
|
Reference in New Issue
Block a user