[ce2498]: src / Makefile Maximize Restore History

Download this file

Makefile    25 lines (16 with data), 536 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OCT = sockets.oct
SRC := $(OCT:.oct=.cc)
MKOCTFILE ?= mkoctfile -Wall
OCTAVE ?= octave
## windows users should link with -lws2_32 (on mingw, at least). If you
## know how to detect windows and find the appropriate linker flag here,
## please drop a mail to the octave maintainers mailing list.
all: $(OCT)
%.oct: %.cc
$(MKOCTFILE) $<
## for this to work, the PKG_ADD commands need to extracted from the source
check: $(OCT)
$(OCTAVE) -q ./test_octave_sockets
clean:
rm -f *.o octave-core core *.oct *~
.PHONY: all clean test