experimental areafix type thing
This commit is contained in:
26
utils/mnetsubunsub/Makefile
Normal file
26
utils/mnetsubunsub/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
CC=cc
|
||||
CFLAGS=-I/usr/local/include -I../../deps/
|
||||
DEPS = mnetsubunsub.c
|
||||
JAMLIB = ../../deps/jamlib/jamlib.a
|
||||
LIBUUID = ../../deps/libuuid/.libs/libuuid.a
|
||||
OBJ = mnetsubunsub.o
|
||||
|
||||
all: mnetsubunsub
|
||||
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
$(JAMLIB):
|
||||
cd ../../deps/jamlib && make -f Makefile.linux
|
||||
|
||||
$(LIBUUID):
|
||||
cd ../../deps/libuuuid && ./configure
|
||||
cd ../../deps/libuuuid && $(MAKE)
|
||||
|
||||
mnetsubunsub: $(OBJ) $(JAMLIB) $(LIBUUID)
|
||||
$(CC) -o mnetsubunsub $^ $(CFLAGS) -L/usr/local/lib
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) mnetsubunsub
|
Reference in New Issue
Block a user