Updated the dependencies for the "hayes" test
This commit is contained in:
parent
bd214be8f9
commit
15697d0cf7
@ -21,7 +21,7 @@ hayes_OBJS = hayes.o
|
|||||||
hayes_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags glib-2.0 libSystem`
|
hayes_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags glib-2.0 libSystem`
|
||||||
hayes_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs glib-2.0 libSystem`
|
hayes_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs glib-2.0 libSystem`
|
||||||
|
|
||||||
hayes: $(hayes_OBJS) ../src/modems/hayes.c
|
hayes: $(hayes_OBJS)
|
||||||
$(CC) -o hayes $(hayes_OBJS) $(hayes_LDFLAGS)
|
$(CC) -o hayes $(hayes_OBJS) $(hayes_LDFLAGS)
|
||||||
|
|
||||||
modems_OBJS = modems.o
|
modems_OBJS = modems.o
|
||||||
@ -55,19 +55,19 @@ ussd: $(ussd_OBJS)
|
|||||||
tests.log: hayes modems pdu plugins tests.sh ussd
|
tests.log: hayes modems pdu plugins tests.sh ussd
|
||||||
./tests.sh -P "$(PREFIX)" -- "tests.log"
|
./tests.sh -P "$(PREFIX)" -- "tests.log"
|
||||||
|
|
||||||
hayes.o: hayes.c
|
hayes.o: hayes.c ../src/modems/hayes.o
|
||||||
$(CC) $(hayes_CFLAGS) -c hayes.c
|
$(CC) $(hayes_CFLAGS) -c hayes.c
|
||||||
|
|
||||||
modems.o: modems.c
|
modems.o: modems.c
|
||||||
$(CC) $(modems_CFLAGS) -c modems.c
|
$(CC) $(modems_CFLAGS) -c modems.c
|
||||||
|
|
||||||
pdu.o: pdu.c ../src/modems/hayes.c ../src/modems/hayes/command.c ../src/modems/hayes/command.h
|
pdu.o: pdu.c ../src/modems/hayes.o
|
||||||
$(CC) -I ../src/modems $(pdu_CFLAGS) -c pdu.c
|
$(CC) -I ../src/modems $(pdu_CFLAGS) -c pdu.c
|
||||||
|
|
||||||
plugins.o: plugins.c
|
plugins.o: plugins.c
|
||||||
$(CC) $(plugins_CFLAGS) -c plugins.c
|
$(CC) $(plugins_CFLAGS) -c plugins.c
|
||||||
|
|
||||||
ussd.o: ussd.c ../src/modems/hayes.c ../src/modems/hayes/command.c ../src/modems/hayes/command.h
|
ussd.o: ussd.c ../src/modems/hayes.o
|
||||||
$(CC) -I ../src/modems $(ussd_CFLAGS) -c ussd.c
|
$(CC) -I ../src/modems $(ussd_CFLAGS) -c ussd.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -10,7 +10,9 @@ type=binary
|
|||||||
cflags=`pkg-config --cflags glib-2.0 libSystem`
|
cflags=`pkg-config --cflags glib-2.0 libSystem`
|
||||||
ldflags=`pkg-config --libs glib-2.0 libSystem`
|
ldflags=`pkg-config --libs glib-2.0 libSystem`
|
||||||
sources=hayes.c
|
sources=hayes.c
|
||||||
depends=../src/modems/hayes.c
|
|
||||||
|
[hayes.c]
|
||||||
|
depends=../src/modems/hayes.o
|
||||||
|
|
||||||
[modems]
|
[modems]
|
||||||
type=binary
|
type=binary
|
||||||
@ -26,7 +28,7 @@ sources=pdu.c
|
|||||||
|
|
||||||
[pdu.c]
|
[pdu.c]
|
||||||
cppflags=-I ../src/modems
|
cppflags=-I ../src/modems
|
||||||
depends=../src/modems/hayes.c,../src/modems/hayes/command.c,../src/modems/hayes/command.h
|
depends=../src/modems/hayes.o
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
type=binary
|
type=binary
|
||||||
@ -47,4 +49,4 @@ sources=ussd.c
|
|||||||
|
|
||||||
[ussd.c]
|
[ussd.c]
|
||||||
cppflags=-I ../src/modems
|
cppflags=-I ../src/modems
|
||||||
depends=../src/modems/hayes.c,../src/modems/hayes/command.c,../src/modems/hayes/command.h
|
depends=../src/modems/hayes.o
|
||||||
|
Loading…
Reference in New Issue
Block a user