File: dbus_Makefile.gnu

package info (click to toggle)
falconpl 0.9.6.9-git20120606-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 46,176 kB
  • sloc: cpp: 181,389; ansic: 109,025; yacc: 2,310; xml: 1,218; sh: 403; objc: 245; makefile: 82; sql: 20
file content (34 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# The Falcon Programming Language
#
# dbus - Falcon - DBUS official binding
#
#   GNU Makefile for Linux, BSD and generic unices
#
#

#Define here the list of files to be compiled

OBJECTS= build/dbus.o \
			build/dbus_ext.o \
			build/dbus_st.o \
			build/dbus_mod.o \
			build/dbus_srv.o

all: builddir dbus.so

dbus.so: $(OBJECTS)
	g++ $(LDFLAGS) -o dbus.so $(OBJECTS) $$(falcon-conf -l)

build/%.o : src/%.cpp src/*.h
	g++ -c $$(falcon-conf -c) $(CXXFLAGS) $< -o $@

builddir:
	mkdir -p build

clean:
	rm -rf build
	rm -rf dbus.so


.PHONY: clean builddir