From a22df89c6462820ef2186dcff77abd63c11b697e Mon Sep 17 00:00:00 2001 From: "Dr. Johann Pfefferl" Date: Tue, 11 May 2010 16:38:31 +0200 Subject: [PATCH] Install the "desktop" file --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d352bf..620ac31 100644 --- 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 -- 1.7.9.5