#
# slicer/Makefile - Build the mesh slicer
#
# Written 2015 by Werner Almesberger
# Copyright 2015 Werner Almesberger
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#


NAME = slicer

OBJS = $(NAME).o slice.o stl.o

CFLAGS = -g -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations\
	 $(shell pkg-config --cflags glib-2.0)
LDLIBS = -lm $(shell pkg-config --libs glib-2.0)

$(NAME):	$(OBJS)

clean:
		rm -f $(OBJS)