projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added header
[my-code/ivac.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2b51ba5
..
432f72a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,11
+2,19
@@
INCLUDEDIR = /usr/include
INCLUDEDIR = /usr/include
-CFLAGS = -O3 -Wall
+CFLAGS = -DDEBUG -O3 -Wall -I/usr/X11/include -I/usr/include/directfb -DVIDEO_DEV=\"/dev/v4l/video0\"
+LIBS = -L/usr/X11/lib -L/usr/lib/directfb-0.9.15 -lX11 -lXext -ldirectfb
-OBJS = stream receive datagram
+OBJS = minirgb.o webcam.o
+OBJS2 = stream receive datagram dgramrcv
+OBJS3 = dfb_api.o
-all: $(OBJS)
+webcam: $(OBJS)
+ $(CC) -o $@ $(OBJS) $(LIBS)
+netstuff: $(OBJS2)
+ivac: $(OBJS3)
+ $(CC) -o $@ $(OBJS3) $(LIBS)
+all: webcam netstuff
clean:
clean:
- rm $(OBJS)
+ rm $(OBJS)
$(OBJS2)