X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=432f72a3b9b1d643b05b8d6042ebda2937d2ebd8;hb=3d01f06a186ec5571fb6e3337d24432a96f8e8a2;hp=2b51ba5495f13a6b22e437e7d3e7a2a069cfdd49;hpb=9814ad553986bcb149ebdc97de9100ba0b430443;p=my-code%2Fivac.git diff --git a/Makefile b/Makefile index 2b51ba5..432f72a 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,19 @@ 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: - rm $(OBJS) + rm $(OBJS) $(OBJS2)