Add 'clean' target to makefile.

pull/350/head
David Wilson 6 years ago
parent 8eb288856c
commit ce058eb8bd

@ -1,10 +1,14 @@
all: \
lib/modules/custom_binary_producing_junk \
lib/modules/custom_binary_producing_json
TARGETS+=lib/modules/custom_binary_producing_junk
TARGETS+=lib/modules/custom_binary_producing_json
all: clean $(TARGETS)
lib/modules/custom_binary_producing_junk: lib/modules.src/custom_binary_producing_junk.c
$(CC) -o $@ $<
lib/modules/custom_binary_producing_json: lib/modules.src/custom_binary_producing_json.c
$(CC) -o $@ $<
clean:
rm -f $(TARGETS)

Loading…
Cancel
Save