git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
009128b14550da109e46057c8a0ee9dbf1f8ae27
[matches/MCTX3420.git]
/
server
/
Makefile
1
# Makefile for rpi side server
2
CXX = gcc
3
FLAGS = -std=c99 -Wall -Werror -pedantic -g
4
LIB = -lpthread
5
OBJ = log.o sensor.o query.o main.o
6
RM = rm -f
7
8
BIN = server
9
10
$(BIN) : $(OBJ)
11
$(CXX) $(FLAGS) -o $(BIN) $(OBJ) $(LIB)
12
13
14
%.o : %.c
15
$(CXX) $(FLAGS) -c $<
16
17
18
19
clean :
20
$(RM) $(BIN)
21
$(RM) *.o
22
23
clean_full: #cleans up all backup files
24
$(RM) $(BIN) $(OBJ) $(LINKOBJ)
25
$(RM) *.*~
26
$(RM) *~
27
28
29
UCC
git Repository :: git.ucc.asn.au