Skip to content
Snippets Groups Projects
Commit 3309c725 authored by Tommy Olofsson's avatar Tommy Olofsson
Browse files

C library and copy functions works on Windows as well.

parent 34e6831a
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,13 @@ else ifeq ($(UNAME_S),Darwin)
LDFLAGS=-L.
LDLIBS=-llabcomm
MAKESHARED=clang -o $1 -shared -Wl,-install_name,$2 $3 -lc
else if $(findstring(CYGWIN,$(UNAME_S))
CFLAGS=-std=c99 -g -Wall -Werror -O3 -I. -Itest
CC=$(CROSS_COMPILE)gcc
LD=$(CROSS_COMPILE)ld
LDFLAGS=-L.
LDLIBS=-llabcomm -lrt
ALL_DEPS:=$(filter-out %.so.1, $(ALL_DEPS)) # No -fPIC supported in windows?
else
$(error Unknown system $(UNAME_S))
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment