Install the "desktop" file
authorDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 11 May 2010 14:38:31 +0000 (16:38 +0200)
committerDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 11 May 2010 14:38:31 +0000 (16:38 +0200)
Makefile

index 3d352bf..620ac31 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ PKG_LDFLAGS := $(shell pkg-config --libs $(pkg_packages))
 # additional flags
 # -Wall: warnings
 # -g: debugging
-ADD_CFLAGS := -Wall -g
+ADD_CFLAGS := -Wall
 CDEBUG=-g
 
 # combine the flags (so that CFLAGS/LDFLAGS from the command line
@@ -22,6 +22,8 @@ LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)
 ifdef DEBUG
 CFLAGS += $(CDEBUG)
 LDFLAGS += $(CDEBUG)
+else
+CFLAGS += -O2
 endif
 
 AUX_FILES=Makefile
@@ -64,5 +66,6 @@ install:
        cp gps-tracker-64x64.png $(ICON_DIR)/64x64/hildon/gps-tracker.png
        cp gps-tracker-40x40.png $(ICON_DIR)/40x40/hildon/gps-tracker.png
        cp gps-tracker-26x26.png $(ICON_DIR)/26x26/hildon/gps-tracker.png
+       cp gps-tracker.desktop $(DESKTOP_DIR)
 
 dist: clean