This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/utils/mnetftn/Makefile

22 lines
373 B
Makefile
Raw Normal View History

2018-05-24 08:31:01 +00:00
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