-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
38 lines (27 loc) · 758 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# @author Alex Smith (alsmi14@ilstu.edu)
# @date 2022-01-30
CC=gcc
RM=rm -f
LIBS=-lm
BIN=Bin/
SRC=Src/
OUT=Out/
FLAGS=-g -Wall
allclean:all clean
all:graphs differential numerical spike driver
$(CC) $(FLAGS) *.o -o $(BIN)driver $(LIBS)
graphs:$(SRC)graph_manipulations.c
$(CC) -c $(SRC)graph_manipulations.c
differential:$(SRC)differential_equations.c
$(CC) -c $(SRC)differential_equations.c
numerical:$(SRC)numerical_methods.c
$(CC) -c $(SRC)numerical_methods.c
spike:$(SRC)spike_calculations.c
$(CC) -c $(SRC)spike_calculations.c
driver:$(SRC)simulation_driver.c
$(CC) -c $(SRC)simulation_driver.c
clean:cleanObject cleanOut
cleanObject:
$(RM) *.o
cleanOut:
$(RM) $(OUT)approx* $(OUT)spikes* $(OUT)ISI* $(OUT)s_values $(OUT)avg_freqs