developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | EXEC = switch |
2 | |||||
3 | SRC=switch_fun.c switch_753x.c switch_ioctl.c switch_netlink.c | ||||
4 | |||||
5 | all: $(EXEC) | ||||
6 | |||||
7 | switch: $(SRC) | ||||
8 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(LDLIBS) $(LIBS) | ||||
9 | |||||
10 | romfs: | ||||
11 | $(ROMFSINST) /bin/switch | ||||
12 | |||||
13 | clean: | ||||
14 | -rm -f $(EXEC) *.elf *.gdb *.o |