Build Triangle as a lib rather than as a program.
This commit is contained in:
parent
3e176c6f89
commit
87ec69938d
1 changed files with 4 additions and 5 deletions
|
@ -9,12 +9,11 @@
|
||||||
#
|
#
|
||||||
# DEFS = -DTRILIBRARY -DREDUCED -DCDT_ONLY
|
# DEFS = -DTRILIBRARY -DREDUCED -DCDT_ONLY
|
||||||
|
|
||||||
DEFS +=
|
DEFS += -DTRILIBRARY -DREDUCED
|
||||||
|
|
||||||
bin_PROGRAMS = triangle # showme
|
noinst_LIBRARIES = libTriangle.a
|
||||||
|
|
||||||
triangle_SOURCES = triangle.c triangle.h
|
libTriangle_a_SOURCES = triangle.c triangle.h
|
||||||
|
|
||||||
triangle_LDADD = $(base_LIBS)
|
|
||||||
|
|
||||||
|
# bin_PROGRAMS = showme
|
||||||
# showme_SOURCES = showme.c
|
# showme_SOURCES = showme.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue