1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
.POSIX:
CC=g++
ifeq (0,1)
CFLAGS+=-static
OCTAVE_LIBS_PATH=-L/usr/local/lib/octave
OCTAVE_LIBRARIES=-loctave -lcruft -lm -lncurses -ldl -lstdc++ -lc -lkpathsea -lreadline -lf2c
%.exe: %.cc
$(CC) $< $(CFLAGS) $(OCTAVE_LIBS_PATH) $(OCTAVE_LIBRARIES) -o $@
%.oct: %.cc
mkoctfile $<
endif
|
<
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.POSIX:
CC=g++
ifeq (0,1)
CFLAGS+=-static
OCTAVE_LIBRARIES=-loctave -lcruft -lm -lncurses -ldl -lstdc++ -lc -lkpathsea -lreadline -lg2c
%.exe: %.cc
$(CC) $< $(CFLAGS) $(OCTAVE_LIBRARIES) -o $@
%.oct: %.cc
mkoctfile $<
endif
|