~ubuntu-branches/ubuntu/trusty/modem-manager-gui/trusty-backports

« back to all changes in this revision

Viewing changes to src/Makefile

  • Committer: Package Import Robot
  • Author(s): Graham Inggs
  • Date: 2013-07-30 12:51:59 UTC
  • Revision ID: package-import@ubuntu.com-20130730125159-flzv882fhuzhmfmi
Tags: upstream-0.0.16
ImportĀ upstreamĀ versionĀ 0.0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include ../Makefile_h
 
2
 
 
3
BINDIR    = $(PREFIX)/bin
 
4
GCC       = gcc
 
5
#CFLAGS    = -mtune=native -O3 -D_GNU_SOURCE
 
6
LIB       = `pkg-config --cflags --libs gtk+-3.0 gthread-2.0` `pkg-config --cflags --libs gmodule-2.0` -lgdbm
 
7
OBJ       = settings.o strformat.o libpaths.o notifications.o addressbooks.o ayatana.o smsdb.o trafficdb.o ussdlist.o encoding.o netlink.o mmguicore.o main.o
 
8
 
 
9
all: modem-manager-gui
 
10
 
 
11
modem-manager-gui: $(OBJ)
 
12
        $(GCC) $(OBJ) $(LIB) -o modem-manager-gui
 
13
 
 
14
.c.o:
 
15
        $(GCC) $(LIB) -c $(CFLAGS) $< -o $@
 
16
 
 
17
install:
 
18
        install -d $(INSTALLPREFIX)$(DESTDIR)$(BINDIR)
 
19
        install modem-manager-gui $(INSTALLPREFIX)$(DESTDIR)$(BINDIR)
 
20
 
 
21
uninstall:
 
22
        rm -f $(INSTALLPREFIX)$(DESTDIR)$(BINDIR)/modem-manager-gui
 
23
 
 
24
clean:
 
25
        rm -f *.o
 
26
        rm -f modem-manager-gui