mirror of
https://github.com/servomekanism/windows-vs-linux-loader-architecture
synced 2026-08-09 13:09:45 +00:00
10 lines
214 B
Makefile
10 lines
214 B
Makefile
build:
|
|
$(CC) -g -o main main.c -ldl -fPIC -lpthread
|
|
$(CC) -g -shared -o lib1.so lib1.c -fPIC -lpthread
|
|
$(CC) -g -shared -o lib2.so lib2.c -fPIC -lpthread
|
|
|
|
clean:
|
|
rm -f main lib1.so lib2.so
|
|
|
|
.PHONY: build clean
|