# libpxd/polluxd Makefile

.PHONY := all clean

include $(TOPDIR)/common.mk

all: test_path test_route test_url

test_path: test_path.o
	$(CC) -o test_path test_path.o -lpxd $(LDFLAGS)

test_route: test_route.o
	$(CC) -o test_route test_route.o -lpxd $(LDFLAGS)

test_url: test_url.o
	$(CC) -o test_url test_url.o -lpxd $(LDFLAGS)

.c.o:
	$(CC) -o $@ -c -I$(CURRENT_SRC_DIR) $(CFLAGS) $<

clean :
	rm -f *.o test_path
