Add static solution as template for dynamic solution.
This commit is contained in:
1 parent
596128d356
commit
68c0349f04
4 files changed
+209
No files matched your search
@@ -0,0 +1,16 @@
|
||||
namesarchive: main.o libnamesarchive.so
|
||||
gcc -Wall -o namesarchive main.o libnamesarchive.so
|
||||
|
||||
main.o: main.c
|
||||
gcc -c -Wall main.c
|
||||
|
||||
namesarchive.o: namesarchive.c namesarchive.h
|
||||
gcc -c -Wall namesarchive.c
|
||||
|
||||
libnamesarchive.so: namesarchive.o
|
||||
gcc -shared -o libnamesarchive.so namesarchive.o
|
||||
|
||||
clean:
|
||||
del /f namesarchive.exe *.o *.so
|
||||
# Comment line above and uncomment line below for UNIX systems
|
||||
# rm -f namesarchive *.o *.so
|
||||
Reference in new issue
Block a user