+
# -*- makefile-gmake -*-
include base #omkbuild
-# Makefile.rules - OCERA make framework common project rules -*- makefile -*-
+# Makefile.rules - OCERA make framework common project rules -*- makefile-gmake -*-
#
# (C) Copyright 2003 by Pavel Pisa - OCERA team member
# (C) Copyright 2006 by Michal Sojka - Czech Technical University, FEE, DCE
##################### -*- makefile-gmake -*-
# Build pseudo-pass #
#####################
+
ifneq (,$(filter build,$(MAKECMDGOALS)))
rule_targets = $(value $(1)_targets)
rule_deps = $(value $(1)_deps)
+
+############## -*- makefile-gmake -*-
+# C programs #
+##############
+
c++ext = cc C cxx cpp
c++sources = $(foreach ext,$(c++ext),$(filter %.$(ext),$(1)))
-################
+################ -*- makefile-gmake -*-
# Prepare pass #
################