experimental tool

This commit is contained in:
Andrew Pamment
2018-05-24 18:31:01 +10:00
parent 75cb49e46d
commit d03cc0b023
2 changed files with 674 additions and 0 deletions

21
utils/mnetftn/Makefile Normal file
View File

@@ -0,0 +1,21 @@
CC=cc
CFLAGS=-I/usr/local/include -I../../deps/
DEPS = mnettoftn.c
JAMLIB = ../../deps/jamlib/jamlib.a
OBJ = mnettoftn.o
all: mnettoftn
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
$(JAMLIB):
cd ../../deps/jamlib && make -f Makefile.linux
mnettoftn: $(OBJ) $(JAMLIB)
$(CC) -o mnettoftn $^ $(CFLAGS) -L/usr/local/lib
.PHONY: clean
clean:
rm -f $(OBJ) mnettoftn