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