This commit is contained in:
Andrew Pamment
2018-05-22 21:02:22 +10:00
parent e7a7133af2
commit 42fdc30972
26 changed files with 1048 additions and 75 deletions

21
utils/mnetscan/Makefile Normal file
View File

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