tpl/tests/other/Makefile
2013-03-12 16:38:58 -04:00

22 lines
267 B
Makefile

SRCDIR=../../src
CPPFLAGS = -I$(SRCDIR)
PROGS = other1
all: $(PROGS) run_tests
tpl.c:
cp $(SRCDIR)/tpl.c .
other1: other1.o tpl.o
g++ -o other1 other1.o tpl.o
.PHONY: clean run_tests
clean:
rm -f *.o $(PROGS) *.out
rm -f tpl.c
run_tests:
perl ./do_tests