projects
/
gps-tracker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bba9e56
)
Install the "desktop" file
author
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Tue, 11 May 2010 14:38:31 +0000
(16:38 +0200)
committer
Dr. Johann Pfefferl
<pfefferl@nghape.jpnet>
Tue, 11 May 2010 14:38:31 +0000
(16:38 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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
# 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
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)
ifdef DEBUG
CFLAGS += $(CDEBUG)
LDFLAGS += $(CDEBUG)
+else
+CFLAGS += -O2
endif
AUX_FILES=Makefile
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-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
dist: clean