X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=Makefile;h=e162dc84c1f66d0fd915916d4740306077ada579;hb=2eb30d4ac631999499b1aad3c55fe9b82b569524;hp=5a0229831441daa8c8bdb2fd8c0f33999b901df4;hpb=ce17dc8df12ab3bc320f4651552632d7feea389e;p=deb_shairplay.git diff --git a/Makefile b/Makefile index 5a02298..e162dc8 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ LDFLAGS:=-lm LIB_OBJS=src/alac/alac.o src/crypto/aes.o src/crypto/bigint.o src/crypto/hmac.o src/crypto/md5.o src/crypto/rc4.o src/crypto/sha1.o src/sdp.o src/raop_buffer.o src/raop_rtp.o src/http_response.o src/http_request.o src/http_parser.o src/httpd.o src/raop.o src/rsakey.o src/rsapem.o src/dnssd.o src/netutils.o src/utils.o src/base64.o src/logger.o -all: shairport +all: example -shairport: test/shairport.o $(LIB_OBJS) - $(CC) $(CFLAGS) test/shairport.o $(LIB_OBJS) -o $@ $(LDFLAGS) +example: test/example.o $(LIB_OBJS) + $(CC) $(CFLAGS) test/example.o $(LIB_OBJS) -o $@ $(LDFLAGS) clean: - rm -f shairport test/*.o $(LIB_OBJS) + rm -f example test/*.o $(LIB_OBJS)