You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
428 B
Makefile
17 lines
428 B
Makefile
|
|
SYSTEM=$(shell uname -s)
|
|
|
|
TARGETS+=lib/modules/custom_binary_producing_junk_$(SYSTEM)
|
|
TARGETS+=lib/modules/custom_binary_producing_json_$(SYSTEM)
|
|
|
|
all: clean $(TARGETS)
|
|
|
|
lib/modules/custom_binary_producing_junk_$(SYSTEM): lib/modules.src/custom_binary_producing_junk.c
|
|
$(CC) -o $@ $<
|
|
|
|
lib/modules/custom_binary_producing_json_$(SYSTEM): lib/modules.src/custom_binary_producing_json.c
|
|
$(CC) -o $@ $<
|
|
|
|
clean:
|
|
rm -f $(TARGETS)
|