Makefile 733 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. SOURCES = \
  2. Container/extendedimage.cpp \
  3. Container/Video.cpp \
  4. TRIM/imgBase.cpp \
  5. Stenose/CStenoseResult.cpp \
  6. Stenose/StenoseBase.cpp \
  7. Stenose/StenoseNBBase.cpp \
  8. Stenose/StenoseInterface.cpp \
  9. Stenose/StenoseInterfaceDLL.cpp \
  10. Stenose/scale.cpp \
  11. Stenose/vector.cpp \
  12. Stenose/alchemystenose.cpp \
  13. Mouchard/Mouchard.cpp \
  14. NR/ToolsMath.cpp \
  15. Object/drawEllipse.cpp \
  16. Object/regionEllipse.cpp \
  17. Object/point.cpp \
  18. Object/rectangle.cpp \
  19. OBJECTS = $(SOURCES:%.cpp=%.o)
  20. DFLAGS = -O3 -W -Wall -swc -DHAVE_CONFIG_H
  21. IFLAGS = -I.
  22. LFLAGS = -lm -lpthread
  23. all: c3.swc
  24. %.o : %.cpp
  25. g++ $(DFLAGS) $(IFLAGS) -c -o $*.o $*.cpp
  26. c3.swc: $(OBJECTS)
  27. g++ -swc -o $@ $(OBJECTS) $(LFLAGS)
  28. clean:
  29. \rm -f */*.o
  30. distclean: clean
  31. \rm -f c3.swc