sbsv2/raptor/util/talon/Makefile
branchwip
changeset 16 4d5bb8330a27
parent 3 e1eecf4d390d
child 252 6846d05399b6
equal deleted inserted replaced
15:9d01f1c36469 16:4d5bb8330a27
    21 include $(SBS_HOME:\=/)/util/gccprogram.mk
    21 include $(SBS_HOME:\=/)/util/gccprogram.mk
    22 
    22 
    23 ifeq ($(filter win,$(HOSTPLATFORM)),win)
    23 ifeq ($(filter win,$(HOSTPLATFORM)),win)
    24 PROCESS_C:=process_win.c
    24 PROCESS_C:=process_win.c
    25 CFLAGS:=-DHOST_WIN
    25 CFLAGS:=-DHOST_WIN
       
    26 ifeq ($(SBS_MINGW),)
    26 LDFLAGS:=$(subst \,/,$(SBS_HOME:\=/)\win32\mingw\lib\libiberty.a)
    27 LDFLAGS:=$(subst \,/,$(SBS_HOME:\=/)\win32\mingw\lib\libiberty.a)
       
    28 else
       
    29 LDFLAGS:=$(subst \,/,$(SBS_MINGW:\=/)\lib\libiberty.a)
       
    30 endif
    27 else
    31 else
    28 PROCESS_C:=process.c
    32 PROCESS_C:=process.c
    29 CFLAGS:=-g
    33 CFLAGS:=-g
    30 linux_PTHREADLIBS:=-lpthread
    34 linux_PTHREADLIBS:=-lpthread
    31 LDFLAGS:=$(linux_PTHREADLIBS) -lrt
    35 LDFLAGS:=$(linux_PTHREADLIBS) -lrt