]> www.hackdaworld.org Git - my-code/ivac.git/blob - Makefile
-
[my-code/ivac.git] / Makefile
1 # Makefile of ivac
2
3 INCLUDEDIR = /usr/include
4
5 CFLAGS = -DDEBUG -O3 -Wall -I/usr/X11/include -I/usr/include/directfb -DVIDEO_DEV=\"/dev/v4l/video0\"
6 LIBS = -L/usr/X11/lib -L/usr/lib/directfb-0.9.15 -lX11 -lXext -ldirectfb
7
8 OBJS = minirgb.o webcam.o
9 OBJS2 = stream receive datagram dgramrcv
10 OBJS3 = dfb_api.o
11
12 webcam: $(OBJS)
13         $(CC) -o $@ $(OBJS) $(LIBS)
14 netstuff: $(OBJS2)
15 ivac: $(OBJS3)
16         $(CC) -o $@ $(OBJS3) $(LIBS)
17 all: webcam netstuff
18
19 clean:
20         rm $(OBJS) $(OBJS2)