include ../../config.mk

INCLUDE+=-I.. -I.

PROGS=spwtdp_example

all: $(PROGS)

clean:
	rm -f *.o core spwtdp_example > /dev/null

grspw_pkt_lib.o: ../grspw_pkt_lib.c ../grspw_pkt_lib.h
	$(CC) $(CFLAGS) -c  $< -o $@

spwtdp_example: spwtdp_example.c grspw_pkt_lib.o $(CONFIG_DEPS)
	$(CC) $(CFLAGS) $< -o $@ grspw_pkt_lib.o

