File: Makefile

package info (click to toggle)
osra 2.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,468 kB
  • sloc: cpp: 52,893; sh: 3,085; perl: 390; makefile: 328; python: 279; xml: 169; java: 160
file content (24 lines) | stat: -rw-r--r-- 367 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
CXX		:= g++
LD		:= g++

CXXFLAGS	:= -g3 -ggdb -O0 -DOSRA_LIB
CPPFLAGS	:= -I../../src
LDFLAGS		:= -L../../src -L/usr/local/lib

LIBS		:= -losra

.PHONY: all clean

.SUFFIXES: .c .cpp

OBJ			= lib_sample.o

all: lib_sample

#	LD_LIBRARY_PATH=../../src ./lib_sample /usr/local/lib

lib_sample: $(OBJ)
	$(LD) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)

clean:
	rm -f *.o lib_sample