mirror of https://github.com/BOINC/boinc.git
35 lines
456 B
Makefile
35 lines
456 B
Makefile
DEPTH = ..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
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: @srcdir@/*.C
|
|
$(CC) -M @srcdir@/*.C > dependencies
|
|
|
|
include dependencies
|