kopia lustrzana https://github.com/Hamlib/Hamlib
added testrig to Makefile, no linking yet
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@140 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.0
rodzic
581aceeac3
commit
c54afeac9e
|
@ -4,17 +4,17 @@
|
|||
# Simple Make file for common parts.
|
||||
#
|
||||
#
|
||||
# $Id: Makefile,v 1.3 2000-09-16 01:21:07 f4cfe Exp $
|
||||
# $Id: Makefile,v 1.4 2000-09-23 02:26:27 javabear Exp $
|
||||
#
|
||||
#
|
||||
|
||||
CC = gcc
|
||||
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../include
|
||||
OBJ = serial.o
|
||||
OBJ = serial.o rig.o testrig.o
|
||||
LDFLAG = -lm
|
||||
# -ansi would break usleep, CRTSCTS, etc.
|
||||
CFLAGS = -g -Wall -D__USE_FIXED_PROTOTYPES__ -pedantic # -ansi -O2
|
||||
MAKEALL = serial.o
|
||||
MAKEALL = $(OBJ)
|
||||
|
||||
all: $(MAKEALL)
|
||||
|
||||
|
@ -24,6 +24,8 @@ serial.o: serial.c serial.h
|
|||
rig.o: rig.c rig.h riglist.h
|
||||
$(CC) $(CFLAGS) $(INCLUDE) -c rig.c
|
||||
|
||||
testrig.o: testrig.c
|
||||
$(CC) $(CFLAGS) $(INCLUDE) -c testrig.c
|
||||
|
||||
# clean up
|
||||
|
||||
|
@ -34,6 +36,6 @@ clean:
|
|||
|
||||
.PHONY: cleanlocal
|
||||
cleanlocal:
|
||||
rm -f *.o serial
|
||||
rm -f *.o
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue