Parent directory

Makefile

377 bytes
 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)