Add 'clean' target to makefile.
parent
8eb288856c
commit
ce058eb8bd
@ -1,10 +1,14 @@
|
|||||||
|
|
||||||
all: \
|
TARGETS+=lib/modules/custom_binary_producing_junk
|
||||||
lib/modules/custom_binary_producing_junk \
|
TARGETS+=lib/modules/custom_binary_producing_json
|
||||||
lib/modules/custom_binary_producing_json
|
|
||||||
|
all: clean $(TARGETS)
|
||||||
|
|
||||||
lib/modules/custom_binary_producing_junk: lib/modules.src/custom_binary_producing_junk.c
|
lib/modules/custom_binary_producing_junk: lib/modules.src/custom_binary_producing_junk.c
|
||||||
$(CC) -o $@ $<
|
$(CC) -o $@ $<
|
||||||
|
|
||||||
lib/modules/custom_binary_producing_json: lib/modules.src/custom_binary_producing_json.c
|
lib/modules/custom_binary_producing_json: lib/modules.src/custom_binary_producing_json.c
|
||||||
$(CC) -o $@ $<
|
$(CC) -o $@ $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(TARGETS)
|
||||||
|
Loading…
Reference in New Issue