aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b54141ea594e45e7147c997bfc9c7dcbf4e54ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
CFLAGS?=-O1 -g ${WARNFLAGS} -lncurses
CC?=gcc

OBJS = powerdebug.o output.o sensor.o display.o


powerdebug: $(OBJS) powerdebug.h
	$(CC) ${CFLAGS} $(OBJS) -o powerdebug

All: powerdebug

clean:
	rm -f powerdebug *.o