Fix build of test directory
[satcheck.git] / common.mk
1 # A few common Makefile items
2
3 CC := gcc
4 CXX := g++
5
6 UNAME := $(shell uname)
7
8 LIB_NAME := model
9 TSO_LIB_SO := libtso_$(LIB_NAME).so
10 SC_LIB_SO := libsc_$(LIB_NAME).so
11 TEST_LIB_SO := sc_model
12
13 CPPFLAGS += -Wall -g -O3
14
15 # Mac OSX options
16 ifeq ($(UNAME), Darwin)
17 CPPFLAGS += -D_XOPEN_SOURCE -DMAC
18 endif