Skip to content

Commit

Permalink
undoing last change
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbreakfast committed Dec 9, 2015
1 parent 9850991 commit 3cf61bb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ BINDIR := bin
LIBDIR := lib
PYLIBDIR := lib/python

# add lib directory
#LIB := -L$(LIBDIR) $(LIB)

ifeq ($(shell uname -s),Darwin)
# only add this when compiling on OS X
PYINC := "-I/usr/include/python2.7"
endif

# define common variables
SRCEXT := c
SOURCES := $(shell find $(SRCDIR) -maxdepth 1 -type f \( -iname "*.$(SRCEXT)" ! -iname "*main-*.$(SRCEXT)" \) )
OBJECTS := $(patsubst $(SRCDIR)/%,$(BUILDDIR)/%,$(SOURCES:.$(SRCEXT)=.o))
CFLAGS := -g # -Wall
INC := $(shell find $(INCDIR) -maxdepth 1 -type d -exec echo -I {} \;)

PYINC := "-I/usr/include/python2.7"
INC += $(PYINC)

# define specific binaries to create
Expand Down

0 comments on commit 3cf61bb

Please sign in to comment.