2022-03-05 18:24:36 +01:00
|
|
|
all: main
|
|
|
|
|
2022-03-05 19:57:22 +01:00
|
|
|
# Main file
|
|
|
|
files = src/test/main.c
|
|
|
|
|
|
|
|
# Source files
|
2022-03-07 17:34:09 +01:00
|
|
|
files += src/*.c
|
2022-03-05 19:57:22 +01:00
|
|
|
|
|
|
|
# Header files
|
2022-03-07 17:34:09 +01:00
|
|
|
files += include/*.h
|
2022-03-05 18:24:36 +01:00
|
|
|
|
|
|
|
main:
|
2022-03-06 15:17:51 +01:00
|
|
|
@echo Compiling...
|
2022-03-06 16:33:16 +01:00
|
|
|
cc $(files) -lm -o out/why2
|