dockapps/wmwebcam/Makefile

17 lines
318 B
Makefile
Raw Permalink Normal View History

CC = gcc
CFLAGS = -O2 -Wall -I/usr/X11R6/include -DVIDEO_DEV=\"/dev/video\"
2017-02-21 00:16:01 +00:00
LDFLAGS =
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