WHY2/Makefile

17 lines
237 B
Makefile
Raw Normal View History

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
2022-04-04 19:02:23 +02:00
rm versions.json
2022-04-04 18:52:13 +02:00
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