File: funcs.mk

package info (click to toggle)
numptyphysics 0.3.10-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,788 kB
  • sloc: cpp: 21,126; ansic: 6,298; makefile: 170; python: 135
file content (18 lines) | stat: -rw-r--r-- 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define add_pkgconfig
PKGS += $(1)
endef

define add_platform
CXXFLAGS += -Iplatform/$(1)
SOURCES += $(wildcard platform/$(1)/*.cpp)
endef

define add_external
CXXFLAGS += -Iexternal/$(1)
SOURCES += $(wildcard external/$(1)/*.cpp)
endef

define include_makefile
GENERATED_MAKEFILES += $(1)
-include $(1)
endef