sbsv2/raptor/util/ransleep/Makefile
changeset 28 b8fa7dfeeaa1
parent 13 c327db0664bb
equal deleted inserted replaced
27:3a31ca4b29c4 28:b8fa7dfeeaa1
    13 # Description:
    13 # Description:
    14 # Utility makefile 
    14 # Utility makefile 
    15 #
    15 #
    16 #
    16 #
    17 
    17 
    18 TARGET:=ransleep
    18 all:
    19 SOURCES:=$(SBS_HOME:\=/)/util/ransleep/ransleep.c
    19 	cd .. && make ransleep
    20 
    20 
    21 ifeq ($(filter win,$(HOSTPLATFORM)),win)
       
    22 CFLAGS:=-DWIN32
       
    23 LDFLAGS:=
       
    24 else
       
    25 CFLAGS:=
       
    26 LDFLAGS:=-lpthread
       
    27 endif
       
    28 
       
    29 $(eval $(cprogram))