25 lines
517 B
Makefile
25 lines
517 B
Makefile
# $Id: Makefile,v 1.4 2012/04/18 20:45:33 nanard Exp $
|
|
# made for GNU Make (and BSD make)
|
|
CFLAGS = -Wall -g -ansi -DTEST
|
|
EXECUTABLES = testobsdrdr testpfpinhole
|
|
|
|
all: $(EXECUTABLES)
|
|
|
|
clean:
|
|
rm -f *.o $(EXECUTABLES)
|
|
|
|
testobsdrdr: testobsdrdr.o obsdrdr.o
|
|
$(CC) $(CFLAGS) -o $@ $>
|
|
|
|
testpfpinhole: testpfpinhole.o obsdrdr.o pfpinhole.o
|
|
$(CC) $(CFLAGS) -o $@ $>
|
|
|
|
obsdrdr.o: obsdrdr.c obsdrdr.h
|
|
|
|
pfpinhole.o: pfpinhole.c pfpinhole.h
|
|
|
|
testobsdrdr.o: testobsdrdr.c obsdrdr.h
|
|
|
|
testpfpinhole.o: testpfpinhole.c pfpinhole.h
|
|
|