summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5418524026a57c52d0e4b77084012cb457a77c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SHELL=/bin/sh
CFLAGS=-Wall -g -std=c99 -Isrc
objects=temperature.o
exe=./bin/temperature

all: $(objects)
	$(CC) $(CFLAGS) -o $(exe) $(objects)
	$(exe)

clean:
	rm -fr $(Explaine) $(objects)

temperature.o: src/temperature.c src/temperature.h
	$(CC) $(CFLAGS) -c src/temperature.c