Skip to content
Snippets Groups Projects
Commit 58d2417c authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

added version 2014 to os_compat.mk

parent 41a77020
No related branches found
No related tags found
No related merge requests found
## Macros
UNAME_S=$(shell uname -s)
VERSION=2014
LIBVERSION=2014
ifeq ($(UNAME_S),Linux)
CC=$(CROSS_COMPILE)gcc
......@@ -15,9 +17,10 @@ else ifeq ($(UNAME_S),Darwin)
CC=$(CROSS_COMPILE)gcc
LD=$(CROSS_COMPILE)gcc
CFLAGS=-g -Wall -Werror -O3 -I. -Itest \
-DLABCOMM_COMPAT=\"labcomm$(LIBVERSION)_compat_osx.h\" \
-DLABCOMM_OS_DARWIN=1
# -Wno-tautological-compare -Wno-unused-function
-DLABCOMM_COMPAT=\"labcomm$(VERSION)_compat_osx.h\" \
-DLABCOMM_OS_DARWIN=1 \
-Wno-unused-function
# -Wno-tautological-compare
CFLAGS+=-std=c99
LDFLAGS=-L..
LDLIBS=-llabcomm$(LIBVERSION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment