Joel Stanley | 57ce290 | 2015-11-23 21:48:21 +1030 | [diff] [blame] | 1 | CFLAGS = $(shell pkg-config --cflags libsystemd) -Wall -O2 -g |
Joel Stanley | 1029a06 | 2015-11-23 20:04:05 +1030 | [diff] [blame] | 2 | LDLIBS = $(shell pkg-config --libs libsystemd) |
Cyril Bur | 1aa096a | 2015-10-28 15:24:52 +1100 | [diff] [blame] | 3 | |
Joel Stanley | ba8d0c1 | 2015-11-23 20:35:46 +1030 | [diff] [blame] | 4 | ifdef KERNEL_HEADERS |
| 5 | CFLAGS += -I$(KERNEL_HEADERS) |
| 6 | endif |
| 7 | |
Cyril Bur | 8015cbc | 2015-10-30 19:20:58 +1100 | [diff] [blame] | 8 | EXE = btbridged |
| 9 | |
| 10 | all: $(EXE) |
| 11 | |
| 12 | clean: |
| 13 | rm -rf *.o $(EXE) |