From 825a80b7efe9d40c7b9da61b8a508e89f47da856 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 13 May 2020 22:43:17 +0200 Subject: My simple particle swarm optimization --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ea72a7e --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC=gcc +CFLAGS=-Wall -Werror -g -O3 +LDFLAGS=-lm -lpthread + +.PHONY: all clean + +all: pso + +pso: pso.c pso.h problems.h + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ pso.c + +clean: + rm -rf pso -- cgit v1.2.3