use common dir for serial stuff

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@29 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.0.0
Frank Singleton, VK3FCS 2000-07-27 00:47:56 +00:00
rodzic 1ae52ab67f
commit 89b4625866
1 zmienionych plików z 10 dodań i 7 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
# Make file for libft747.so shared lib test suite.
#
#
# $Id: Makefile,v 1.1 2000-07-18 20:54:50 frank Exp $
# $Id: Makefile,v 1.2 2000-07-27 00:47:56 javabear Exp $
#
#
#
@ -22,14 +22,13 @@
LIB_NAME = libft747.so
LIB_HEADER = ft747.h
#LIB_SONAME = libft747.so.1
#LIB_RELEASE = libft747.so.1.0.1
# access to common stuff
COMMON_DIR = ../../common/
CC = gcc
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../
OBJ = testlibft747.o
LDFLAG = -lm -lft747 -L../
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../include
OBJ = testlibft747.o $(COMMON_DIR)serial.o
LDFLAG = -lm -lft747 -L../lib
CFLAGS = -g -Wall -ansi -pedantic -O2 -D__USE_FIXED_PROTOTYPES__
MAKEALL = testlibft747
@ -41,6 +40,10 @@ testlibft747: $(OBJ)
testlibft747.o: testlibft747.c testlibft747.h
$(CC) $(CFLAGS) $(INCLUDE) -c testlibft747.c
# what common stuff I need.
serial.o:
(cd $(COMMON_DIR) && $(MAKE))
# clean up
clean: