kopia lustrzana https://github.com/Hamlib/Hamlib
use common dir for serial stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@29 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.0.0
rodzic
1ae52ab67f
commit
89b4625866
|
@ -9,7 +9,7 @@
|
||||||
# Make file for libft747.so shared lib test suite.
|
# 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_NAME = libft747.so
|
||||||
LIB_HEADER = ft747.h
|
LIB_HEADER = ft747.h
|
||||||
|
|
||||||
#LIB_SONAME = libft747.so.1
|
# access to common stuff
|
||||||
#LIB_RELEASE = libft747.so.1.0.1
|
COMMON_DIR = ../../common/
|
||||||
|
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../
|
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../include
|
||||||
OBJ = testlibft747.o
|
OBJ = testlibft747.o $(COMMON_DIR)serial.o
|
||||||
LDFLAG = -lm -lft747 -L../
|
LDFLAG = -lm -lft747 -L../lib
|
||||||
CFLAGS = -g -Wall -ansi -pedantic -O2 -D__USE_FIXED_PROTOTYPES__
|
CFLAGS = -g -Wall -ansi -pedantic -O2 -D__USE_FIXED_PROTOTYPES__
|
||||||
MAKEALL = testlibft747
|
MAKEALL = testlibft747
|
||||||
|
|
||||||
|
@ -41,6 +40,10 @@ testlibft747: $(OBJ)
|
||||||
testlibft747.o: testlibft747.c testlibft747.h
|
testlibft747.o: testlibft747.c testlibft747.h
|
||||||
$(CC) $(CFLAGS) $(INCLUDE) -c testlibft747.c
|
$(CC) $(CFLAGS) $(INCLUDE) -c testlibft747.c
|
||||||
|
|
||||||
|
# what common stuff I need.
|
||||||
|
serial.o:
|
||||||
|
(cd $(COMMON_DIR) && $(MAKE))
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Ładowanie…
Reference in New Issue