blob: 81ae127462a977eeafa65c9ad8d60dbfe044d5f0 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001EXEC = switch
2
3SRC=switch_fun.c switch_753x.c switch_ioctl.c switch_netlink.c
4
5all: $(EXEC)
6
7switch: $(SRC)
8 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(LDLIBS) $(LIBS)
9
10romfs:
11 $(ROMFSINST) /bin/switch
12
13clean:
14 -rm -f $(EXEC) *.elf *.gdb *.o