mirror of https://github.com/BOINC/boinc.git
30 lines
339 B
Makefile
30 lines
339 B
Makefile
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
|