boinc/api/Makefile.in

30 lines
339 B
Makefile
Raw Normal View History

VERSION = 1
CFLAGS = -g -Wall
CC = @CC@ $(CFLAGS)
PROGS = api_test
all: $(PROGS)
OBJS = \
api_test.o \
api.o
.C.o:
$(CC) -c -o $*.o $<
.c.o:
$(CC) -c -o $*.o $<
api_test: $(OBJS)
$(CC) $(OBJS) -o api_test
clean:
rm -f *.o $(PROGS) core dependencies
dependencies: *.C
$(CC) -M *.C > dependencies
include dependencies