diff options
Diffstat (limited to 'util/usb_detach/Makefile')
-rw-r--r-- | util/usb_detach/Makefile | 18 |
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++ | ||
2 | CC = gcc | ||
3 | |||
4 | # compiler flags: | ||
5 | # -g adds debugging information to the executable file | ||
6 | # -Wall turns on most, but not all, compiler warnings | ||
7 | CFLAGS = -g -Wall | ||
8 | |||
9 | # the build target executable: | ||
10 | TARGET = usb_detach | ||
11 | |||
12 | all: $(TARGET) | ||
13 | |||
14 | $(TARGET): $(TARGET).c | ||
15 | $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c | ||
16 | |||
17 | clean: | ||
18 | $(RM) $(TARGET) | ||