zeroconf/Makefile
2020-07-18 13:49:36 +01:00

34 lines
491 B
Makefile

#
# Makefile for tinysvcmdns
#
CC=mipsel-linux-gcc
CFLAGS += -Wall -pedantic -std=gnu99
CFLAGS += -O2 -DNDEBUG
#CFLAGS += -g
LDLIBS = -lpthread
BIN=testmdnsd
LIBTINYSVCMDNS_OBJS = mdns.o mdnsd.o
.PHONY: all clean
all: $(BIN) libtinysvcmdns.a
clean:
-$(RM) *.o
-$(RM) *.bin
-$(RM) mdns
-$(RM) $(BIN)
-$(RM) libtinysvcmdns.a
mdns: mdns.o
mdnsd: mdns.o mdnsd.o
testmdnsd: testmdnsd.o libtinysvcmdns.a
libtinysvcmdns.a: $(patsubst %, libtinysvcmdns.a(%), $(LIBTINYSVCMDNS_OBJS))