aboutsummaryrefslogtreecommitdiff
path: root/util/usb_detach/Makefile
diff options
context:
space:
mode:
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 000000000..533c1928f
--- /dev/null
+++ b/util/usb_detach/Makefile
@@ -0,0 +1,18 @@
1# the compiler: gcc for C program, define as g++ for C++
2CC = gcc
3
4# compiler flags:
5# -g adds debugging information to the executable file
6# -Wall turns on most, but not all, compiler warnings
7CFLAGS = -g -Wall
8
9# the build target executable:
10TARGET = usb_detach
11
12all: $(TARGET)
13
14$(TARGET): $(TARGET).c
15 $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c
16
17clean:
18 $(RM) $(TARGET)