diff --git a/axevent/send_event/app/Makefile b/axevent/send_event/app/Makefile index 12b767b3..beecc18f 100644 --- a/axevent/send_event/app/Makefile +++ b/axevent/send_event/app/Makefile @@ -20,4 +20,4 @@ CFLAGS += -Wall \ all: $(PROG) clean: - rm -f $(PROG) *.o *.eap *_LICENSE.txt + rm -f $(PROG) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/axevent/subscribe_to_event/app/Makefile b/axevent/subscribe_to_event/app/Makefile index 40a3e92e..20894c0c 100644 --- a/axevent/subscribe_to_event/app/Makefile +++ b/axevent/subscribe_to_event/app/Makefile @@ -20,4 +20,4 @@ CFLAGS += -Wall \ all: $(PROG) clean: - rm -f $(PROG) *.o *.eap *_LICENSE.txt + rm -f $(PROG) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/axevent/subscribe_to_events/app/Makefile b/axevent/subscribe_to_events/app/Makefile index 86d803b8..d4ebf2f3 100644 --- a/axevent/subscribe_to_events/app/Makefile +++ b/axevent/subscribe_to_events/app/Makefile @@ -20,4 +20,4 @@ CFLAGS += -Wall \ all: $(PROG) clean: - rm -f $(PROG) *.o *.eap *_LICENSE.txt + rm -f $(PROG) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/container-example/Makefile b/container-example/Makefile index 0f1a4628..12b17a9f 100644 --- a/container-example/Makefile +++ b/container-example/Makefile @@ -1,4 +1,4 @@ all: clean: - rm -f *.eap* alpine.tar + rm -f *.eap* *_LICENSE.txt package.conf* param.conf tmp* alpine.tar diff --git a/curl-openssl/app/Makefile b/curl-openssl/app/Makefile index 98cbf79d..485c33e8 100644 --- a/curl-openssl/app/Makefile +++ b/curl-openssl/app/Makefile @@ -31,4 +31,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -f $(PROGS) *.o *.eap *_LICENSE.txt package.conf* param.conf cacert.pem + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* cacert.pem diff --git a/hello-world/app/Makefile b/hello-world/app/Makefile index 328b242e..3f6c8596 100644 --- a/hello-world/app/Makefile +++ b/hello-world/app/Makefile @@ -19,8 +19,8 @@ CFLAGS += -Wall \ all: $(PROGS) $(PROG1): $(OBJS1) - $(CC) $^ $(CFLAGS) $(LIBS) -o $@ + $(CC) $^ $(CFLAGS) -o $@ $(STRIP) $@ clean: - rm -f $(PROGS) *.o core *.eap + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/licensekey/app/Makefile b/licensekey/app/Makefile index dc02687d..781868ba 100644 --- a/licensekey/app/Makefile +++ b/licensekey/app/Makefile @@ -27,4 +27,4 @@ $(PROGS): $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -f $(PROGS) *.o + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/message-broker/consume-scene-metadata/app/Makefile b/message-broker/consume-scene-metadata/app/Makefile index e045b366..88ac35c0 100644 --- a/message-broker/consume-scene-metadata/app/Makefile +++ b/message-broker/consume-scene-metadata/app/Makefile @@ -34,4 +34,4 @@ $(PROG1): $(OBJS1) $(STRIP) $@ clean: - rm -rf $(PROGS) $(DEBUG_DIR) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* + rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* $(DEBUG_DIR) diff --git a/object-detection-cv25/app/Makefile b/object-detection-cv25/app/Makefile index a760ecef..6e423571 100644 --- a/object-detection-cv25/app/Makefile +++ b/object-detection-cv25/app/Makefile @@ -34,4 +34,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -rf $(PROGS) *.o $(LIBDIR) *.eap* *_LICENSE.txt manifest.json package.conf* param.conf + rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* $(LIBDIR) manifest.json diff --git a/object-detection/app/Makefile b/object-detection/app/Makefile index d6a2d347..7ae9848f 100644 --- a/object-detection/app/Makefile +++ b/object-detection/app/Makefile @@ -34,4 +34,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -rf $(PROGS) *.o $(LIBDIR) *.eap* *_LICENSE.txt manifest.json package.conf* param.conf + rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* $(LIBDIR) manifest.json diff --git a/remote-debug-example/app/Makefile b/remote-debug-example/app/Makefile index 7a00ba20..c45b13bd 100644 --- a/remote-debug-example/app/Makefile +++ b/remote-debug-example/app/Makefile @@ -28,4 +28,4 @@ $(PROG1): $(OBJS1) $(STRIP) $@ clean: - rm -rf $(PROGS) *.o core *.eap* *_LICENSE.txt debug tmp* package.conf* param.conf + rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* $(DEBUG_DIR) core diff --git a/reproducible-package/app/Makefile b/reproducible-package/app/Makefile index 0313fb2d..7aecf519 100644 --- a/reproducible-package/app/Makefile +++ b/reproducible-package/app/Makefile @@ -37,4 +37,4 @@ $(PROG1): $(OBJS1) $(STRIP) $@ clean: - rm -f $(PROGS) *.o core *.conf* *.eap* *_LICENSE.txt + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* *.conf* diff --git a/using-opencv/app/Makefile b/using-opencv/app/Makefile index c765a303..b500084f 100644 --- a/using-opencv/app/Makefile +++ b/using-opencv/app/Makefile @@ -1,4 +1,4 @@ -TARGET = opencv_app +PROGS = opencv_app OBJECTS = $(wildcard *.cpp) PKGS = gio-2.0 gio-unix-2.0 vdostream @@ -13,11 +13,11 @@ LDLIBS += -lm -lopencv_video -lopencv_imgproc -lopencv_core -lpthread .PHONY: all clean -all: $(TARGET) +all: $(PROGS) -$(TARGET): $(OBJECTS) +$(PROGS): $(OBJECTS) $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LDLIBS) $^ -o $@ ; \ $(STRIP) --strip-unneeded $@ clean: - $(RM) *.o $(TARGET) *.eap* *_LICENSE.txt pa* + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/utility-libraries/custom_lib_example/app/Makefile b/utility-libraries/custom_lib_example/app/Makefile index 6a525e06..a9e3cf58 100644 --- a/utility-libraries/custom_lib_example/app/Makefile +++ b/utility-libraries/custom_lib_example/app/Makefile @@ -27,4 +27,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $^ $(LIBS) $(LDLIBS) $(SHLIBS) -o $@ clean: - rm -f $(PROGS) *.o *.eap *_LICENSE.txt package.conf* param.conf + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/utility-libraries/openssl_curl_example/app/Makefile b/utility-libraries/openssl_curl_example/app/Makefile index fb40fb90..6907d911 100644 --- a/utility-libraries/openssl_curl_example/app/Makefile +++ b/utility-libraries/openssl_curl_example/app/Makefile @@ -45,4 +45,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $^ $(LIBS) -o $@ clean: - rm -f $(PROGS) *.o *.eap *_LICENSE.txt package.conf* param.conf + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/vapix/app/Makefile b/vapix/app/Makefile index e7a34a0a..426f73e1 100644 --- a/vapix/app/Makefile +++ b/vapix/app/Makefile @@ -29,4 +29,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/vdo-larod/app/Makefile b/vdo-larod/app/Makefile index 17c04ff6..ddcd5c6f 100644 --- a/vdo-larod/app/Makefile +++ b/vdo-larod/app/Makefile @@ -28,4 +28,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -f $(PROGS) *.o *.eap + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* manifest.json diff --git a/vdo-opencl-filtering/app/Makefile b/vdo-opencl-filtering/app/Makefile index 15a1f547..4c947511 100644 --- a/vdo-opencl-filtering/app/Makefile +++ b/vdo-opencl-filtering/app/Makefile @@ -26,4 +26,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(LDLIBS) -o $@ clean: - rm -f $(PROGS) *.o *.eap + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/web-server-using-fastcgi/app/Makefile b/web-server-using-fastcgi/app/Makefile index 2d1044ea..fb2aaa68 100644 --- a/web-server-using-fastcgi/app/Makefile +++ b/web-server-using-fastcgi/app/Makefile @@ -31,4 +31,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) $^ -o $@ clean: - rm -f $(PROGS) *.o *.eap* pa* *_LICENSE.txt + rm -f $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* diff --git a/web-server/app/Makefile b/web-server/app/Makefile index 47aef4e6..e72e2639 100644 --- a/web-server/app/Makefile +++ b/web-server/app/Makefile @@ -34,4 +34,4 @@ $(PROG1): $(OBJS1) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@ clean: - rm -rf $(PROGS) *.o $(LIBDIR) $(HTMLDIR) *.eap* *_LICENSE.txt package.conf* param.conf tmp* + rm -rf $(PROGS) *.o *.eap* *_LICENSE.txt package.conf* param.conf tmp* $(LIBDIR) $(HTMLDIR)