Add scripts

This commit is contained in:
kuben
2019-11-03 14:28:22 +01:00
parent fc0ee648e0
commit a58cdb6355
9 changed files with 1620 additions and 0 deletions

24
scripts/health/makefile Executable file
View File

@@ -0,0 +1,24 @@
CFLAGS = -Wall
LDFLAGS = -lm
CC = gcc
default: health
optim: CFLAGS += -O3
optim: health
debug: CFLAGS += -g
debug: health
OBJECTS=health.o utils.o
health: $(OBJECTS)
$(CC) $(CFLAGS) -o health $(OBJECTS) $(LDFLAGS)
health.o: health.c health.h
$(CC) $(CFLAGS) -c health.c
utils.o: utils.c utils.h
$(CC) $(CFLAGS) -c utils.c
clean:
rm -f *.o