File: Makefile

package info (click to toggle)
spatialindex 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,312 kB
  • sloc: cpp: 51,468; python: 3,886; ansic: 848; sh: 375; makefile: 155
file content (15 lines) | stat: -rw-r--r-- 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROGRAM = test_cc
OBJECTS = test_cc.o

override CXXFLAGS += -std=c++11 -g -Wall -Werror $(shell pkg-config libspatialindex --cflags)
override LDFLAGS += $(shell pkg-config libspatialindex --libs)

all: $(PROGRAM)

$(PROGRAM): $(OBJECTS)
	$(CXX) -o $@ $< $(LDFLAGS)

clean:
	$(RM) $(PROGRAM) $(OBJECTS)

.PHONY: clean