projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MAX_SIZE 1400
[my-code/ivac.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0924a8b
..
9be9376
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,11
+2,18
@@
INCLUDEDIR = /usr/include
INCLUDEDIR = /usr/include
-CFLAGS = -DDEBUG -O3 -Wall
+CFLAGS = -DDEBUG -O3 -Wall -I/usr/X11/include -DVIDEO_DEV=\"/dev/video\"
+LIBS = -L/usr/X11/lib -lX11 -lXext
-OBJS = stream receive datagram dgramrcv
+OBJS = minirgb.o webcam.o
+OBJS2 = stream receive datagram dgramrcv
-all: $(OBJS)
+webcam: $(OBJS)
+ $(CC) -o $@ $(OBJS) $(LIBS)
+
+netstuff: $(OBJS2)
+
+all: webcam netstuff
clean:
clean:
- rm $(OBJS)
+ rm $(OBJS)
$(OBJS2)