Amit Arora | e9e16b0 | 2010-08-03 10:15:20 +0530 | [diff] [blame^] | 1 | WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int |
2 | CFLAGS?=-O1 -g ${WARNFLAGS} | ||||
3 | CC?=gcc | ||||
4 | |||||
5 | OBJS = powerdebug.o output.o sensor.o | ||||
6 | |||||
7 | |||||
8 | powerdebug: $(OBJS) powerdebug.h | ||||
9 | $(CC) ${CFLAGS} $(OBJS) -o powerdebug | ||||
10 | |||||
11 | All: powerdebug | ||||
12 | |||||
13 | clean: | ||||
14 | rm -f powerdebug *.o |