include config.mk
REQ = util
-HDR = arg.h
+HDR = arg.h config.h
COM =\
battery\
cpu\
volume.o: volume.c config.mk $(HDR) $(REQ:=.h)
wifi.o: wifi.c config.mk $(HDR) $(REQ:=.h)
+config.h:
+ cp config.def.h $@
+
.o:
$(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS)