test making a shared lib for the frontend - make hamlib

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@145 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.0
Frank Singleton, VK3FCS 2000-09-23 05:10:24 +00:00
rodzic 8c87716015
commit 5f736206e7
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -27,7 +27,7 @@
#
#
#
# $Id: Makefile,v 1.5 2000-09-23 04:55:44 javabear Exp $
# $Id: Makefile,v 1.6 2000-09-23 05:10:24 javabear Exp $
#
#
@ -47,7 +47,7 @@ CC = gcc
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../include
OBJ = serial.o rig.o testrig.o
LDFLAG = -lm
# -ansi would break usleep, CRTSCTS, etc.
CFLAGS = -g -Wall -D__USE_FIXED_PROTOTYPES__ -pedantic -fPIC -g -Wall
MAKEALL = $(OBJ)
@ -75,11 +75,10 @@ cleanlocal:
rm -f $(LIB_RELEASE)
# test making a shared lib (at last) for the frontend -- FS
# test making a shared lib ( for the frontend -- FS
# still lots to cleanup.
.PHONY: hamlib
hamlib:
$(CC) $(CFLAGS) $(INCLUDE) -c $(LIB_SRC)
$(CC) -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc