2022-03-20 18:12:25 +01:00
|
|
|
all: main
|
|
|
|
|
|
|
|
# Main file
|
|
|
|
files = src/test/main.c
|
|
|
|
|
|
|
|
# Source files
|
|
|
|
files += src/*.c
|
|
|
|
|
|
|
|
# Header files
|
|
|
|
files += include/*.h
|
|
|
|
|
|
|
|
main:
|
2022-04-04 18:52:13 +02:00
|
|
|
@echo Removing versions.json
|
|
|
|
rm version.json
|
|
|
|
|
2022-03-20 18:12:25 +01:00
|
|
|
@echo Compiling...
|
2022-04-04 18:52:13 +02:00
|
|
|
cc $(files) -ljson-c -lcurl -lm -o out/why2
|