openpkg/mutex.mk

Wed, 01 Aug 2012 23:37:13 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:37:13 +0200
changeset 434
66c3db5d26f6
permissions
-rw-r--r--

Hack up to build 64 bit bins and libs on 64 bit platforms, why not?
...I just hope this is a portable way to do it, using the '-m64' switch.

     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