]> git.scottworley.com Git - batteryviewer/blobdiff - Makefile
Keep the charts in State
[batteryviewer] / Makefile
index 8bc7dbb6309d20e968689a825a804fc5fc27c235..ffbff75892df37379fd37c8aea41a8b636244476 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ bindir = $(exec_prefix)/bin
 INSTALL = install -D
 INSTALL_PROGRAM = $(INSTALL)
 
 INSTALL = install -D
 INSTALL_PROGRAM = $(INSTALL)
 
-batteryviewer: batteryviewer.c
-       gcc $(shell pkg-config --cflags gtk+-3.0) -o $@ $(CFLAGS) $< $(shell pkg-config --libs gtk+-3.0)
+batteryviewer: batteryviewer.c chart.c
+       gcc $(shell pkg-config --cflags gtk+-3.0) -o $@ $(CFLAGS) $^ $(shell pkg-config --libs gtk+-3.0)
 
 all: batteryviewer
 
 
 all: batteryviewer