From 1a6a2a7b75dec3b20311bc6d89923fde3222ba1c Mon Sep 17 00:00:00 2001 From: zvecr Date: Mon, 18 Feb 2019 17:03:44 +0000 Subject: Relocate usb_detach to utils (#5121) * Relocate usb_detach to utils * Relocate usb_detach to utils - fix up files after move --- util/usb_detach/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 util/usb_detach/Makefile (limited to 'util/usb_detach/Makefile') diff --git a/util/usb_detach/Makefile b/util/usb_detach/Makefile new file mode 100644 index 0000000000..533c1928f4 --- /dev/null +++ b/util/usb_detach/Makefile @@ -0,0 +1,18 @@ +# the compiler: gcc for C program, define as g++ for C++ +CC = gcc + +# compiler flags: +# -g adds debugging information to the executable file +# -Wall turns on most, but not all, compiler warnings +CFLAGS = -g -Wall + +# the build target executable: +TARGET = usb_detach + +all: $(TARGET) + +$(TARGET): $(TARGET).c + $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c + +clean: + $(RM) $(TARGET) -- cgit v1.2.3