.PHONY: all scheduler clean test CCOPTS=-pthread -fPIC -fwrapv -Wall -fno-strict-aliasing CCFLAGS=-I /usr/include/python3.9 LDFLAGS=-lpython3.9 -lpthread -lm -lutil scheduler: scheduler.c gcc $(CCOPTS) $(CCFLAGS) -o scheduler scheduler.c $(LDFLAGS) scheduler.c: scheduler.pyx cython3 scheduler.pyx --embed clean: rm -rf scheduler.c scheduler rm -rf test.c test all: scheduler test: test.c gcc $(CCOPTS) $(CCFLAGS) -o test test.c $(LDFLAGS) test.c: test.pyx cython3 test.pyx --embed