rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Makefile for libwifitest |
| 3 | # |
| 4 | |
| 5 | # definitions |
| 6 | # ------------------------------------------------------------------------------ |
| 7 | CFLAGS = -pipe -g -Os $(EXTRA_CFLAGS) |
| 8 | |
| 9 | # library info |
| 10 | # ------------------------------------------------------------------------------ |
| 11 | |
| 12 | # wifitest tool info |
| 13 | PROGRAM = wifi_bt_mac_write |
| 14 | # objects |
| 15 | # ------------------------------------------------------------------------------ |
| 16 | |
| 17 | # compiling and linking |
| 18 | # ------------------------------------------------------------------------------ |
| 19 | all: $(PROGRAM) |
| 20 | clean: |
| 21 | -rm -f $(OBJS) $(LIB) $(PROGRAM) |
| 22 | $(PROGRAM): main.c |
| 23 | $(CC) -L . -lm -o $@ $< |