update Makefile

This commit is contained in:
Michael Davidsaver
2013-12-08 15:53:57 -05:00
parent 639baab55d
commit 01331ed3f5
5 changed files with 36 additions and 17 deletions

View File

@@ -1,24 +1,12 @@
TOP=../..
include $(TOP)/configure/CONFIG
PYMODULE = NO
include $(TOP)/configure/CONFIG_PY
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
ifdef T_A
include $(TOP)/configure/O.$(T_A)/CONFIG_PY
ifneq ($(PY_OK),YES)
$(error Unable to get python configuration)
endif
endif
USR_CPPFLAGS += $(PY_INCDIRS:%=-I%)
USR_LDFLAGS += $(PY_LIBDIRS:%=-L%)
ifeq ($(HAVE_NUMPY),YES)
USR_CPPFLAGS += -DHAVE_NUMPY
endif
#=============================
# Build the IOC application