Cleaned Makefile
This commit is contained in:
parent
cbcd402c4c
commit
f35f7659a0
|
@ -20,7 +20,7 @@
|
||||||
#=----------------------------------------------------------------------------=#
|
#=----------------------------------------------------------------------------=#
|
||||||
|
|
||||||
.DEFAULT_GOAL:= all
|
.DEFAULT_GOAL:= all
|
||||||
.PHONY: all dynlibs clean
|
.PHONY: all clean
|
||||||
.PRECIOUS: %.c
|
.PRECIOUS: %.c
|
||||||
|
|
||||||
CCOPTS=-pthread -fPIC -fwrapv -Wall -fno-strict-aliasing
|
CCOPTS=-pthread -fPIC -fwrapv -Wall -fno-strict-aliasing
|
||||||
|
@ -40,8 +40,6 @@ $(BINDIR)/%.so: %.c
|
||||||
@echo "Cythonizing $< to $@"
|
@echo "Cythonizing $< to $@"
|
||||||
@cython3 -3 $< -o $@
|
@cython3 -3 $< -o $@
|
||||||
|
|
||||||
dynlibs: $(DYNLIBS)
|
|
||||||
|
|
||||||
# ---- Main recipe ----------------------------------------------------------- #
|
# ---- Main recipe ----------------------------------------------------------- #
|
||||||
$(BINDIR)/gem-graph-server: main.c
|
$(BINDIR)/gem-graph-server: main.c
|
||||||
@echo "Building program to $@"
|
@echo "Building program to $@"
|
||||||
|
@ -57,4 +55,4 @@ main.c: main.py
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.c ../bin/*
|
rm -rf *.c ../bin/*
|
||||||
|
|
||||||
all: dynlibs $(BINDIR)/gem-graph-server
|
all: $(DYNLIBS) $(BINDIR)/gem-graph-server
|
||||||
|
|
Loading…
Reference in New Issue