Archived
1
0

remove root.mk

This commit is contained in:
Emil 2023-09-06 12:57:48 +00:00
parent 89aeb1fcde
commit 4f89cc7757
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A
4 changed files with 6 additions and 10 deletions

View File

@ -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:

View File

@ -1,5 +1,3 @@
include ../root.mk
CFLAGS += -shared -fPIE
libplug.so: plug.o

View File

@ -1,6 +0,0 @@
CFLAGS := -std=c89 -Wall -Wextra -Wpedantic -Wshadow -Wundef
CPPFLAGS := -D_FORTIFY_SOURCE=2
LDLIBS := -lplug
.c.o:
${COMPILE.c} $< -o $@

View File

@ -1,5 +1,3 @@
include ../root.mk
CPPFLAGS += -I../plug -L../plug
plugin: main.o