webmcp
annotate libraries/extos/Makefile @ 541:72e55c2eb63c
Use "cc -shared" instead of "ld -shared" to create *.so files
author | jbe |
---|---|
date | Sat Oct 19 15:05:55 2019 +0200 (2019-10-19) |
parents | 9fdfb27f8e67 |
children | 1e72fa29d3fb |
rev | line source |
---|---|
jbe/bsw@0 | 1 include ../../Makefile.options |
jbe/bsw@0 | 2 |
jbe/bsw@0 | 3 extos.so: extos.o |
jbe@541 | 4 $(CC) $(SHAREDFLAGS) -lrt -lcrypt -o extos.$(SLIB_EXT) extos.o |
jbe/bsw@0 | 5 |
jbe/bsw@0 | 6 extos.o: extos.c |
jbe/bsw@0 | 7 $(CC) -c $(CFLAGS) -o extos.o extos.c |
jbe/bsw@0 | 8 |
jbe/bsw@0 | 9 clean:: |
jbe/bsw@0 | 10 rm -f extos.so extos.o |