Synopsis - Cross-Reference

File: /sandbox/call_graph/Makefile
 1#
 2# Copyright (C) 2005 Stefan Seefeld
 3# All rights reserved.
 4# Licensed to the public under the terms of the GNU LGPL (>= 2),
 5# see the file COPYING for details.
 6#
 7
 8SHELL	:= /bin/sh
 9
10CPPFLAGS:= `pkg-config --cflags Synopsis`
11LIBS	:= `pkg-config --libs Synopsis`
12
13TARGET	:= call-graph
14
15call-graph: call-graph.o
16	$(CXX) $(LDFLAGS) -o $@ $< $(LIBS)
17
18%.o: %.cc
19	@echo compiling $(@D)/$(@F)
20	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
21
22clean :
23	rm -f call-graph