restore portable Makefiles

This commit is contained in:
hexcoder-
2020-04-02 17:00:35 +02:00
committed by van Hauser
parent 5488422471
commit fef08192ad
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