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