openpkg/mutex.mk

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

     2 CC             = cc
     3 CFLAGS         =
     4 CPPFLAGS       =
     5 LDFLAGS        =
     6 LIBS           = -lpopt
     8 MUTEX_DOT_C    = mutex.c
    10 all: mutex
    12 mutex: $(MUTEX_DOT_C)
    13 	$(CC) $(CFLAGS) $(CPPFLAGS) -o mutex $(MUTEX_DOT_C) $(LDFLAGS) $(LIBS)
    15 clean:
    16 	-rm -f mutex

mercurial