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