restore portable Makefiles

This commit is contained in:
hexcoder-
2020-04-02 17:00:35 +02:00
parent 26e45e41ed
commit cc65e91eeb
6 changed files with 77 additions and 83 deletions

View File

@ -1,7 +0,0 @@
all: libexamplemutator.so
libexamplemutator.so:
$(CC) $(CFLAGS) -D_FORTIFY_SOURCE=2 -O3 -fPIC -shared -g -I ../../include example.c -o libexamplemutator.so
clean:
rm -rf libexamplemutator.so

View File

@ -1,2 +1,7 @@
all:
@echo please use GNU make, thanks!
all: libexamplemutator.so
libexamplemutator.so:
$(CC) $(CFLAGS) -D_FORTIFY_SOURCE=2 -O3 -fPIC -shared -g -I ../../include example.c -o libexamplemutator.so
clean:
rm -rf libexamplemutator.so