blob: 8e6447d1f3f604a159fdf030ed674f02d6284009 [file] [log] [blame]
Cyril Bur314929b2016-10-14 15:55:16 +11001CFLAGS = -Wall -O2 -g
2
3ifdef KERNEL_HEADERS
4 CFLAGS += -I$(KERNEL_HEADERS)
5endif
6
Cyril Burc85e34d2016-11-15 11:50:41 +11007EXE = mboxd
Cyril Bur314929b2016-10-14 15:55:16 +11008
9all: $(EXE)
10
11$(EXE): common.o
12
Cyril Burc85e34d2016-11-15 11:50:41 +110013mboxd: CFLAGS += -DPREFIX="\"MBOXD\""
14
Cyril Bur314929b2016-10-14 15:55:16 +110015clean:
16 rm -rf *.o $(EXE)