2016-12-19 02:59:47 +00:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -O2 -Wall -I/usr/X11R6/include -DVIDEO_DEV=\"/dev/video\"
|
2017-02-21 00:16:01 +00:00
|
|
|
LDFLAGS =
|
2016-12-19 02:59:47 +00:00
|
|
|
LIBS = -L/usr/X11R6/lib -lX11 -lXext -lm -ljpeg
|
|
|
|
|
|
|
|
OBJS = minirgb.o wmwebcam.o
|
|
|
|
|
|
|
|
wmwebcam: $(OBJS)
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJS) *~ wmwebcam
|
|
|
|
|
|
|
|
install:
|
|
|
|
cp wmwebcam /usr/bin
|
|
|
|
cp wmwebcam.pl /usr/bin
|