Skip to content

Commit

Permalink
Fixed the build on linux from make, now it invoked a properly fixed s…
Browse files Browse the repository at this point in the history
…etup.py, which includes -lm
  • Loading branch information
mmadsen committed Jun 11, 2014
1 parent fad7a7e commit 89de458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
@@ -1,15 +1,15 @@
CC=gcc
CFLAGS=-g -c -Wall
INCLUDEDIR=-I.
LDFLAGS=
LDFLAGS=-lm
EXECUTABLES=slatkin-enumerate slatkin-mc
SOURCES=slatkin.c enumerate.c montecarlo.c mersenne.c
SWIG_SRC=slatkin.i
OBJECTS=$(SOURCES:.c=.o)
SWIG=swig -python


all: $(EXECUTABLES) $(OBJECTS) python
all: python


python:
Expand Down

0 comments on commit 89de458

Please sign in to comment.