mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Debufs on fstab, go back to tty login to have job control, prepare target makefile for multiple progs
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
CC = gcc
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
ins_rm_mod: ins_rm_mod.c
|
||||
CC ?= gcc
|
||||
IN_EXT ?= .c
|
||||
OUT_EXT ?= .out
|
||||
|
||||
OUTS := $(addsuffix $(OUT_EXT), $(basename $(wildcard *$(IN_EXT))))
|
||||
|
||||
all: $(OUTS)
|
||||
|
||||
%$(OUT_EXT): %$(IN_EXT)
|
||||
$(CC) -o '$@' '$<'
|
||||
|
||||
clean:
|
||||
rm ins_rm_mod
|
||||
rm -f *'$(OUT_EXT)'
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user