/usr/share/siscone/examples/makefile.static is in siscone-examples 2.0.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | CC = g++
OUT = siscone
OUT_AREA = area
OUT_TEST = test
OUT_TIMES = times
OUT_SAMPLE = sample
OUT_SPHERE = spherical
CFLAGS = -Wall -g -O3 -ffast-math
LDFLAGS = -lsiscone -lm
OBJS_MAIN = options.o main.o
OBJS_AREA = options.o area.o
OBJS_TEST = test.o
OBJS_TIMES = times.o
OBJS_SAMPLE = sample.o
OBJS_SPHERE = spherical.o
OBJS_ALL = options.o main.o area.o sample.o test.o times.o spherical.o
SRCS = $(patsubst %.o,%.cpp,$(OBJS_ALL))
%.o: %.cpp %.h
$(CC) -c $(CFLAGS) $<
%.o: %.cpp
$(CC) -c $(CFLAGS) $<
all: $(OUT) area sample test times spherical
$(OUT): $(OBJS_MAIN)
$(CC) -o $(OUT) $(OBJS_MAIN) $(LDFLAGS)
area: $(OBJS_AREA)
$(CC) -o $(OUT_AREA) $(OBJS_AREA) $(LDFLAGS)
test: $(OBJS_TEST)
$(CC) -o $(OUT_TEST) $(OBJS_TEST) $(LDFLAGS)
times: $(OBJS_TIMES)
$(CC) -o $(OUT_TIMES) $(OBJS_TIMES) $(LDFLAGS)
sample: $(OBJS_SAMPLE)
$(CC) -o $(OUT_SAMPLE) $(OBJS_SAMPLE) $(LDFLAGS)
spherical: $(OBJS_SPHERE)
$(CC) -o $(OUT_SPHERE) $(OBJS_SPHERE) -lsiscone_spherical $(LDFLAGS)
.PHONY: clean
clean:
rm -f *.o *~ $(OUT) area sample test times spherical
depend:
makedepend -I.. -Y -f makefile.static -- -- $(SRCS)
# DO NOT DELETE
options.o: options.h
main.o: options.h
|