kopia lustrzana https://github.com/Hamlib/Hamlib
*** empty log message ***
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@12 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.0.0
rodzic
e432b2e194
commit
62e86db172
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# creates: libft747.so
|
# creates: libft747.so
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.2 2000-07-18 22:01:04 frank Exp $
|
# $Id: Makefile,v 1.3 2000-07-18 23:28:01 frank Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# .h files go in INSTALL_INCLUDEDIR
|
# .h files go in INSTALL_INCLUDEDIR
|
||||||
|
@ -23,12 +23,15 @@ LIB_HEADER = ft747.h
|
||||||
LIB_SRC = ft747.c
|
LIB_SRC = ft747.c
|
||||||
LIB_OBJECTS = ft747.o
|
LIB_OBJECTS = ft747.o
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CFLAGS = -fPIC -g -Wall
|
||||||
|
|
||||||
all: lib
|
all: lib
|
||||||
|
|
||||||
.PHONY: lib
|
.PHONY: lib
|
||||||
lib:
|
lib:
|
||||||
gcc -fPIC -g -Wall -c $(LIB_SRC)
|
$(CC) $(CFLAGS) -c $(LIB_SRC)
|
||||||
gcc -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc
|
$(CC) -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc
|
||||||
|
|
||||||
# install header and lib
|
# install header and lib
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue