/gpump/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/gpump/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Gustav Hartvigsson
  • Date: 2014-06-13 11:43:17 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140613114317-b39077ndls9e8a4y
* added moar random information to the about dialoug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CC=gcc
2
 
CFLAGS=-std=c11 -Wall `pkg-config gio-2.0 gtk+-3.0 rest-0.7 --cflags`
3
 
LIBS=`pkg-config gio-2.0 gtk+-3.0 rest-0.7 --libs`
4
 
 
5
 
EXEC=./bin/gpump
6
 
 
7
 
OBJS=./obj/main.o\
8
 
        ./obj/GPumpApp.o\
9
 
        ./obj/GPumpAuth.o\
10
 
        ./obj/GPumpCommentContainer.o\
11
 
        ./obj/GPumpPostContainer.o\
12
 
        ./obj/GPumpProfiles.o
13
 
 
14
 
DEPS=./src/*.h
15
 
 
16
 
$(EXEC): $(OBJS)
17
 
        mkdir -p ./bin
18
 
        $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
19
 
 
20
 
obj/%.o: src/%.c $(DEPS)
21
 
        mkdir -p ./obj
22
 
        $(CC) $(CFLAGS) $(LIBS) -c -o $@ $< 
 
1
 
 
2
default:
 
3
        GJS_PATH=`pwd`/src/ gjs src/main.js