remove root.mk
This commit is contained in:
parent
89aeb1fcde
commit
4f89cc7757
6
Makefile
6
Makefile
@ -4,6 +4,12 @@ PREFIX := .
|
||||
|
||||
CP := cp -f
|
||||
|
||||
CFLAGS := -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wundef
|
||||
CPPFLAGS := -D_FORTIFY_SOURCE=2
|
||||
|
||||
export CFLAGS
|
||||
export CPPFLAGS
|
||||
|
||||
all: plug/libplug.so src/plugin
|
||||
|
||||
plug/libplug.so:
|
||||
|
@ -1,5 +1,3 @@
|
||||
include ../root.mk
|
||||
|
||||
CFLAGS += -shared -fPIE
|
||||
|
||||
libplug.so: plug.o
|
||||
|
6
root.mk
6
root.mk
@ -1,6 +0,0 @@
|
||||
CFLAGS := -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wundef
|
||||
CPPFLAGS := -D_FORTIFY_SOURCE=2
|
||||
LDLIBS := -lplug
|
||||
|
||||
.c.o:
|
||||
${COMPILE.c} $< -o $@
|
@ -1,5 +1,3 @@
|
||||
include ../root.mk
|
||||
|
||||
CPPFLAGS += -I../plug -L../plug
|
||||
|
||||
plugin: main.o
|
||||
|
Reference in New Issue
Block a user