Root/
| 1 | # |
| 2 | # slicer/Makefile - Build the mesh slicer |
| 3 | # |
| 4 | # Written 2015 by Werner Almesberger |
| 5 | # Copyright 2015 Werner Almesberger |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 2 of the License, or |
| 10 | # (at your option) any later version. |
| 11 | # |
| 12 | |
| 13 | |
| 14 | NAME = slicer |
| 15 | |
| 16 | OBJS = $(NAME).o slice.o stl.o |
| 17 | |
| 18 | CFLAGS = -g -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations\ |
| 19 | $(shell pkg-config --cflags glib-2.0) |
| 20 | LDLIBS = -lm $(shell pkg-config --libs glib-2.0) |
| 21 | |
| 22 | $(NAME): $(OBJS) |
| 23 | |
| 24 | clean: |
| 25 | rm -f $(OBJS) |
| 26 |
Branches:
master
