Cleaned Makefile

This commit is contained in:
Adrien Bourmault 2021-04-10 23:23:41 +02:00
parent cbcd402c4c
commit f35f7659a0
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 2 additions and 4 deletions

View File

@ -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