From 5f736206e73acd5337b925b9fc13359196ef0b8e Mon Sep 17 00:00:00 2001 From: "Frank Singleton, VK3FCS" Date: Sat, 23 Sep 2000 05:10:24 +0000 Subject: [PATCH] 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 --- common/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/Makefile b/common/Makefile index d457aab20..e9158f9ce 100644 --- a/common/Makefile +++ b/common/Makefile @@ -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 -