2018-04-01 11:58:06 +01:00
|
|
|
|
2018-09-11 06:40:56 +01:00
|
|
|
SYSTEM=$(shell uname -s)
|
|
|
|
|
|
|
|
TARGETS+=lib/modules/custom_binary_producing_junk_$(SYSTEM)
|
|
|
|
TARGETS+=lib/modules/custom_binary_producing_json_$(SYSTEM)
|
2018-08-12 13:17:31 +01:00
|
|
|
|
|
|
|
all: clean $(TARGETS)
|
2018-04-17 17:00:56 +01:00
|
|
|
|
2018-09-11 06:40:56 +01:00
|
|
|
lib/modules/custom_binary_producing_junk_$(SYSTEM): lib/modules.src/custom_binary_producing_junk.c
|
2018-04-17 17:00:56 +01:00
|
|
|
$(CC) -o $@ $<
|
|
|
|
|
2018-09-11 06:40:56 +01:00
|
|
|
lib/modules/custom_binary_producing_json_$(SYSTEM): lib/modules.src/custom_binary_producing_json.c
|
2018-04-17 17:00:56 +01:00
|
|
|
$(CC) -o $@ $<
|
2018-08-12 13:17:31 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(TARGETS)
|