aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-02-13 22:13:02 +1300
committerDavid <dbphillipsnz@gmail.com>2014-02-13 22:13:02 +1300
commitc975ccb2634dd71d273f0710a7e28f43062268ae (patch)
tree7b9645151ea159c475319050ded677ee9fbd3ef0
parentccc2f7f5c75696d9ccbe0d9b471dcf1d9db836c5 (diff)
downloadparamano-c975ccb2634dd71d273f0710a7e28f43062268ae.tar.xz
More makefile fixes
-rw-r--r--Makefile3
-rw-r--r--src/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4dd4188..0eda43f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,8 @@ all:
make all --directory=./src/
install:
- install -D data/*.png $(INSTALL_PATH)/usr/share/trayfreq/
+ mkdir -p $(INSTALL_PATH)/usr/share/trayfreq/
+ cp data/*.png $(INSTALL_PATH)/usr/share/trayfreq/
install -D data/trayfreq.config $(INSTALL_PATH)/usr/share/trayfreq/trayfreq.config
install -D data/trayfreq.desktop $(INSTALL_PATH)/etc/xdg/autostart/trayfreq.desktop
diff --git a/src/Makefile b/src/Makefile
index 49cf9c1..da175bd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -24,7 +24,7 @@ trayfreq_set_SOURCES = trayfreq_set.c getfreq.c getcore.c
all:
- #$(CC) -o trayfreq-set $(trayfreq_set_SOURCES) $(trayfreq_set_CFLAGS) $(trayfreq_set_LDFLAGS)
+ $(CC) -o trayfreq-set $(trayfreq_set_SOURCES) $(trayfreq_set_CFLAGS) $(trayfreq_set_LDFLAGS)
$(CC) -o trayfreq $(trayfreq_SOURCES) trayfreq_set_interface.c $(trayfreq_CFLAGS) $(trayfreq_LDFLAGS)