Changeset 40 in Main for trunk/Platform


Ignore:
Timestamp:
Sep 17, 2024, 9:31:08 PM (2 months ago)
Author:
Nishi
Message:

use dll for windows build

Location:
trunk/Platform
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Platform/generic.mk

    r17 r40  
    33CC = cc
    44AR = ar
    5 CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common
     5CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -fPIC
    66LDFLAGS =
    77LIBS =
  • trunk/Platform/linux.mk

    r26 r40  
    33CC = cc
    44AR = ar
    5 CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -D_DEFAULT_SOURCE
     5CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -D_DEFAULT_SOURCE -fPIC
    66LDFLAGS =
    77LIBS =
  • trunk/Platform/win64.mk

    r25 r40  
    55CC = x86_64-w64-mingw32-gcc
    66AR = x86_64-w64-mingw32-ar
    7 CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/openssl/include
     7CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/openssl/include -fPIC
    88LDFLAGS = -L $(PWD)/openssl/lib
    99LIBS = -lws2_32
Note: See TracChangeset for help on using the changeset viewer.