summaryrefslogtreecommitdiff
path: root/util/usb_detach/Makefile
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-02-18 17:03:44 +0000
committerDrashna Jaelre <drashna@live.com>2019-02-18 09:03:44 -0800
commit1a6a2a7b75dec3b20311bc6d89923fde3222ba1c (patch)
tree25a7d256f9d78a281a58095822a24a9920c5b73b /util/usb_detach/Makefile
parent545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3 (diff)
Relocate usb_detach to utils (#5121)
* Relocate usb_detach to utils * Relocate usb_detach to utils - fix up files after move
Diffstat (limited to 'util/usb_detach/Makefile')
-rw-r--r--util/usb_detach/Makefile18
1 files changed, 18 insertions, 0 deletions
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)