vdr-plugin-scraper2vdr/lib/Makefile

15 lines
403 B
Makefile
Raw Normal View History

2014-04-12 17:10:43 +02:00
2014-05-09 01:05:21 +02:00
BASELIBS = -lrt -lz -lmysqlclient -lcurl -luuid
BASELIBS += $(shell mysql_config --libs)
CFLAGS += $(shell mysql_config --include)
2014-04-12 17:10:43 +02:00
all:
2014-05-09 01:05:21 +02:00
g++ -ggdb -DPLGDIR='"."' $(CFLAGS) test.c dbdict.c common.c config.c db.c tabledef.c $(BASELIBS) -o t
demo: demo.c
g++ -ggdb -DUSEUUID -DPLGDIR='"."' $(CFLAGS) demo.c common.c db.c tabledef.c config.c $(BASELIBS) -o demo
2014-04-12 17:10:43 +02:00
clean:
2014-05-09 01:05:21 +02:00
rm -f *.o *.a *~ core demo