summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/vision
diff options
context:
space:
mode:
Diffstat (limited to '2003/i/buzz/src/vision')
-rw-r--r--2003/i/buzz/src/vision/GNUmakefile29
-rw-r--r--2003/i/buzz/src/vision/Makefile.defs7
2 files changed, 7 insertions, 29 deletions
diff --git a/2003/i/buzz/src/vision/GNUmakefile b/2003/i/buzz/src/vision/GNUmakefile
deleted file mode 100644
index 6527e4e..0000000
--- a/2003/i/buzz/src/vision/GNUmakefile
+++ /dev/null
@@ -1,29 +0,0 @@
-SRCDIR = ..
-CXXFLAGS = -Wall -g
-CPPFLAGS = -I$(SRCDIR) -I/usr/pkg/include
-LDFLAGS = -L/usr/pkg/lib
-LDADD = -lnetpbm
-
-TARGETS = test_image vision.a
-test_image_SOURCES = test_image.cc image.cc thresholds.cc
-vision_a_SOURCES = image.cc thresholds.cc
-
-all: $(TARGETS)
-
-test_image: $(test_image_SOURCES:%.cc=%.o)
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LDADD)
-
-vision.a: ${vision_a_SOURCES:%.cc=vision.a(%.o)}
-
-.dep/%.d: %.cc .dep
- @set -e; $(CC) -M $(CPPFLAGS) $< \
- | sed 's/\($*\)\.o[ :]*/\1.o .dep\/$*.d : /g' > $@; \
- [ -s $@ ] || rm -f $@
-
-include $(test_image_SOURCES:%.cc=.dep/%.d)
-
-.dep:
- @mkdir .dep
-
-clean:
- rm -f $(TARGETS) *.o
diff --git a/2003/i/buzz/src/vision/Makefile.defs b/2003/i/buzz/src/vision/Makefile.defs
new file mode 100644
index 0000000..d90037e
--- /dev/null
+++ b/2003/i/buzz/src/vision/Makefile.defs
@@ -0,0 +1,7 @@
+TARGETS += test_image
+test_image_SOURCES = test_image.cc image.cc thresholds.cc camera.a erreur.a -lppm
+vision_a_SOURCES = image.cc thresholds.cc
+
+test_image: $(test_image_SOURCES:%.cc=%.o)
+
+vision.a: ${vision_a_SOURCES:%.cc=vision.a(%.o)}