fx3tool/Makefile

19 lines
320 B
Makefile
Raw Normal View History

2022-01-20 04:20:10 +00:00
default: all
2022-01-21 03:11:06 +00:00
CFLAGS += -g -Og
CXXFLAGS += $(CFLAGS)
2022-01-20 04:20:10 +00:00
2022-01-21 03:11:06 +00:00
all: fx3tool cyimg2elf
fx3tool: download_fx3.cpp libcyusb.cpp cyusb.h
$(CXX) $(CXXFLAGS) -o "$@" download_fx3.cpp libcyusb.cpp -lusb-1.0
cyimg2elf: cyimg2elf.c cyimg.h
$(CC) $(CFLAGS) -o "$@" "$<"
2022-01-20 04:20:10 +00:00
clean:
2022-01-21 03:11:06 +00:00
@$(RM) -v fx3tool cyimg2elf
2022-01-20 04:20:10 +00:00
.PHONY: all default clean