Makefile 401 Bytes
PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs

LCFLAGS = -g -DDEBUG

default: test_pi_ecc

subdirs: pi_ecc.o
	@echo "  in the subdir ecc"

test_pi_ecc: pi_ecc.o test_pi_ecc.o
	$(HOST_CC) $(LCFLAGS) -o $@ $^

#pi_ecc.o: pi_ecc.c
#	gcc -g -c pi_ecc.c

#test_pi_ecc.o: test_pi_ecc.c
#	gcc -g -c test_pi_ecc.c

clean:
	rm -f *.o test_pi_ecc

#include $(COMMONRULES)

.c.o:
	$(HOST_CC) $(LCFLAGS) -c $<