a412f7cbc76e873a112d3aed141b5d6a167e3857
[matches/MCTX3420.git] / server / sensors / Makefile
1 # Makefile for server software
2 CXX = gcc
3 FLAGS = -std=c99 -Wall -pedantic -g -I../
4 #-I/usr/include/opencv -I/usr/include/opencv2/highgui For OpenCV
5 LIB = -lpthread
6 OBJ = strain.o resource.o pressure.o
7 HEADERS = $(wildcard *.h)
8 RM = rm -f
9
10 all.o : $(OBJ)
11         ar rvs sensors.a $(OBJ)
12
13
14 %.o : %.c
15         $(CXX) $(FLAGS) -c $<
16
17 clean :
18         $(RM) $(BIN)
19         $(RM) *.o
20
21 clean_full: #cleans up all backup files
22         $(RM) $(BIN) $(OBJ)
23         $(RM) *.*~
24         $(RM) *~
25
26
27         

UCC git Repository :: git.ucc.asn.au