# -*- mode: Makefile; -*-
# $Id: Makefile.conf.in,v 1.3 2003/12/29 19:04:23 harry Exp $
#
# This file contains all compiler options used to build ClanLib.
#

PACKAGES = $(patsubst %,%-@LT_RELEASE@,$(LIBS))
CXXFLAGS += `pkg-config --cflags $(PACKAGES)`

#EXAMPLE_BIN contains list of example binaries to build

all: $(EXAMPLE_BIN)@EXEEXT@

$(EXAMPLE_BIN)@EXEEXT@: $(OBJF)
	$(CXX) $(CXXFLAGS) $(OBJF) -o $(EXAMPLE_BIN)@EXEEXT@ `pkg-config --libs $(PACKAGES)`

clean:
	rm -f $(OBJF) $(EXAMPLE_BIN)@EXEEXT@

%.o : %.cpp
	$(CXX) $(CXXFLAGS) -c $< -o $@

#configuration settings

