X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=c24c2f996bc84c1f57f3d21e4c8068bc131010c6;hb=85121cf5ceb381e5502a8f6cb6423d54c152cdfe;hp=9d58c2839b9d256326df68e208f87646956b0e39;hpb=e1b1bb6bffa1e8975f0198f4f2a45fc0e1dd9464;p=my-code%2Fivac.git diff --git a/Makefile b/Makefile index 9d58c28..c24c2f9 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/video\" +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 -uninstall: - rm $(OBJS) +clean: + rm $(OBJS) $(OBJS2)