MAJOR refactoring of Sensors code
[matches/MCTX3420.git] / server / sensors / Makefile
diff --git a/server/sensors/Makefile b/server/sensors/Makefile
new file mode 100644 (file)
index 0000000..b72201d
--- /dev/null
@@ -0,0 +1,27 @@
+# Makefile for server software
+CXX = gcc
+FLAGS = -std=c99 -Wall -pedantic -g -I../
+#-I/usr/include/opencv -I/usr/include/opencv2/highgui For OpenCV
+LIB = -lpthread
+OBJ = strain.o resource.o piped.o
+HEADERS = $(wildcard *.h)
+RM = rm -f
+
+all.o : $(OBJ)
+       ar rvs sensors.a $(OBJ)
+
+
+%.o : %.c
+       $(CXX) $(FLAGS) -c $<
+
+clean :
+       $(RM) $(BIN)
+       $(RM) *.o
+
+clean_full: #cleans up all backup files
+       $(RM) $(BIN) $(OBJ)
+       $(RM) *.*~
+       $(RM) *~
+
+
+       

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