openpkg/mutex.mk

Thu, 18 Oct 2012 12:53:06 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 18 Oct 2012 12:53:06 +0200
changeset 746
75275e2bcfd7
permissions
-rw-r--r--

Refine specification, using other PHP dependent web packages as reference.

     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