File: Makefile

package info (click to toggle)
volpack 1.0b3-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,948 kB
  • sloc: ansic: 12,201; sh: 9,078; makefile: 91; csh: 76
file content (28 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile to compile the examples provided by libvolpack1-dev package
# Andreas Tille <tille@debian.org>  Mon, 10 Dec 2007
# GPL

CC=gcc
CFLAGS=-g -O2 -Wall
LDFLAGS=-s -lvolpack

SOURCES=classifyvolume.c makeoctree.c makevolume.c rendervolume.c
TARGETS=classifyvolume makeoctree makevolume rendervolume

all: $(TARGETS) scalevolume

$(TARGETS): %: %.c
	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)

scalevolume: scalevolume.c
	$(CC) $(CFLAGS) $< denfile.c -o $@ $(LDFLAGS)

test: all
	./test.sh

clean:
	rm -rf *.o *~
	rm -f brainsmall*.ppm brainsmall.cv brainsmall.oct brainsmall.rv

distclean: clean
	rm -f $(TARGETS)