Makefile 229 B

1234567891011121314
  1. # Makefile for USB tools
  2. CC = $(CROSS_COMPILE)gcc
  3. PTHREAD_LIBS = -lpthread
  4. WARNINGS = -Wall -Wextra
  5. CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
  6. all: testusb ffs-test
  7. %: %.c
  8. $(CC) $(CFLAGS) -o $@ $^
  9. clean:
  10. $(RM) testusb ffs-test