Cyril Bur | 314929b | 2016-10-14 15:55:16 +1100 | [diff] [blame] | 1 | CFLAGS = -Wall -O2 -g |
2 | |||||
3 | ifdef KERNEL_HEADERS | ||||
4 | CFLAGS += -I$(KERNEL_HEADERS) | ||||
5 | endif | ||||
6 | |||||
Cyril Bur | c85e34d | 2016-11-15 11:50:41 +1100 | [diff] [blame] | 7 | EXE = mboxd |
Cyril Bur | 314929b | 2016-10-14 15:55:16 +1100 | [diff] [blame] | 8 | |
9 | all: $(EXE) | ||||
10 | |||||
11 | $(EXE): common.o | ||||
12 | |||||
Cyril Bur | c85e34d | 2016-11-15 11:50:41 +1100 | [diff] [blame] | 13 | mboxd: CFLAGS += -DPREFIX="\"MBOXD\"" |
14 | |||||
Cyril Bur | 314929b | 2016-10-14 15:55:16 +1100 | [diff] [blame] | 15 | clean: |
16 | rm -rf *.o $(EXE) |