mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 23:11:05 +07:00
13 lines
190 B
Makefile
13 lines
190 B
Makefile
|
|
||
|
CFLAGS = -Wall -pedantic
|
||
|
LDFLAGS =
|
||
|
LIBS = /lib/x86_64-linux-gnu/libelf.a /lib/x86_64-linux-gnu/libz.a
|
||
|
|
||
|
all: kpatch
|
||
|
|
||
|
kpatch: main.o
|
||
|
cc $(LDFLAGS) -o $@ $^ $(LIBS)
|
||
|
|
||
|
clean:
|
||
|
rm -f kpatch *.o
|