Initial revision.
This commit is contained in:
parent
4457a6b1b5
commit
888494172d
13
lib/Makefile
Normal file
13
lib/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
all: libver.a libver.so
|
||||
|
||||
libver.o: libver.c ver.h Makefile
|
||||
gcc -c -g -o libver.o -I . libver.c
|
||||
|
||||
libver.a: libver.o
|
||||
ar -r libver.a libver.o
|
||||
|
||||
libver.so: libver.o
|
||||
ld -shared -o libver.so libver.o
|
||||
|
||||
clean:
|
||||
rm -f libver.o libver.a libver.so
|
Loading…
Reference in New Issue
Block a user