postgresql/src/test/locale/Makefile

27 lines
400 B
Makefile
Raw Normal View History

#
# Makefile for example programs
#
SRCDIR= ../..
include ../../Makefile.global
PROGS = test-pgsql-locale test-ctype
DIRS = koi8-r ISO8859-7 koi8-to-win1251
all: $(PROGS)
$(PROGS): % : %.c
$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
clean:
rm -f $(PROGS) *.out
for d in $(DIRS); do \
cd $$d; \
$(MAKE) clean; \
cd ..; \
done
test-%: all
1998-12-13 06:14:53 +01:00
@cd `echo $@ | sed 's/^test-//'` && $(MAKE) test