summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile7
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b33f973
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+statusbar
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3234256
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+CFLAGS=-Wall
+LDFLAGS=-lacpi -lcpufreq
+
+all: statusbar
+
+statusbar: statusbar.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<