openpkg/mutex.mk

Wed, 08 Aug 2012 20:15:17 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Aug 2012 20:15:17 +0200
changeset 487
76a25ceeb6bf
permissions
-rw-r--r--

Update to new vendor version, modernize packaging, and accommodate new RPM reqs.
This means append '%dir %{l_prefix}/web' to %files, although it might be better
to simply append '%{l_prefix}/web' intead, needs more fine testing.

     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