-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (27 loc) · 699 Bytes
/
Makefile
File metadata and controls
38 lines (27 loc) · 699 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
#
# Makefile to build XBEE Controller
# Author: Bethany Seeger bethany@seeger.ws
#
#DEBUG = -ggdb3
DEBUG =
WISH = wish
CC = gcc
# INC =
#CFLAGS = -Wall `pkg-config --cflags gtk+-2.0` $(DEBUG) $(INC) -D_FILE_OFFSET_BITS=64 \
#-D_LARGEFILE_SOURCE $(CUSTOM_FLAGS)
CFLAGS = -Wall $(DEBUG) $(INC) -D_FILE_OFFSET_BITS=64 \
-D_LARGEFILE_SOURCE $(CUSTOM_FLAGS)
LDFLAGS =
#LDLIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
LDLIBS =
OBJS = XBEE_Controller.o
SRCS = $(OBJS:.o=.c)
all: .Depend XBEE_Controller
XBEE_Controller: XBEE_Controller.o
.Depend: $(SRCS)
$(CC) $(CFLAGS) -MM $(SRCS) > .Depend
-include .Depend
clean:
rm -f $(OBJS) .Depend
distclean: clean
rm -f XBEE_Controller.o