2015-07-20 00:10:47 +02:00
|
|
|
SHELL=/bin/sh
|
|
|
|
|
|
|
|
CFLAGS=-DRASPBERRY_PI
|
|
|
|
|
|
|
|
# raspjson
|
|
|
|
all: raspjson
|
|
|
|
|
|
|
|
# ===== Compile
|
2020-08-27 20:50:04 +02:00
|
|
|
LibTeleinfo.o: ../../src/LibTeleinfo.cpp
|
|
|
|
$(CC) $(CFLAGS) -c ../../src/LibTeleinfo.cpp
|
2015-07-20 00:10:47 +02:00
|
|
|
|
|
|
|
raspjson.o: raspjson.cpp
|
|
|
|
$(CC) $(CFLAGS) -c raspjson.cpp
|
|
|
|
|
|
|
|
# ===== Link
|
|
|
|
raspjson: raspjson.o LibTeleinfo.o
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o raspjson raspjson.o LibTeleinfo.o
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o raspjson
|
2020-08-27 20:50:04 +02:00
|
|
|
|