]> git.donarmstrong.com Git - qmk_firmware.git/blob - util/usb_detach/Makefile
Relocate usb_detach to utils (#5121)
[qmk_firmware.git] / util / usb_detach / Makefile
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)