summaryrefslogtreecommitdiff
path: root/src/access/Makefile
blob: be178257b18f1aba75fe7bd04f30c421209b39d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#CC=gcc
CC=g++
CCC=g++

TARGET=flowood_access.o flwd_access_ip_layer.o flwd_access_active_ip_manage.o flwd_access_idle_call.o flwd_access_maat.o

CFLAGS=-g  -fPIC -shared -D_GNU_SOURCE=1 -D_BSD_SOURCE=1 -D__USE_MISC=1 -D__FAVOR_BSD=1 -D__USE_BSD=1

H_DIR=-I../..//inc
H_DIR+=-I/opt/MESA/include
H_DIR+=-I/opt/MESA/include/MESA

LIBPATH=../lib
LIB=-L/opt/MESA/lib -lpthread


all:$(TARGET)

.c.o:
	$(CC) -c $(CFLAGS) -I. $(H_DIR) $<

.cpp.o:
	$(CCC) -c $(CFLAGS) -I. $(H_DIR) $<

clean:
	rm -f *.o