PageRenderTime 31ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/tests/z-tests.mk

https://bitbucket.org/ekolis/jackband
Makefile | 20 lines | 12 code | 7 blank | 1 comment | 0 complexity | 4310ac0ae6ddab005a00e70c14a023f8 MD5 | raw file
 1# Simple UNIX-only makefile for the z-tests tests.
 2EXE = z-tests
 3
 4CC = gcc
 5CFLAGS = -Wall -O2 -Wno-unused-parameter -fprofile-arcs -ftest-coverage
 6LDFLAGS = -fprofile-arcs -ftest-coverage
 7
 8OBJS = z-tests.o ../z-tests.o
 9
10$(EXE): $(OBJS)
11	$(CC) $(CFLAGS) $(LDFLAGS) -o $(EXE) $(OBJS) $(LIBS)
12
13clean:
14	-rm -f *.o $(EXE)
15
16%.o: %.c
17	$(CC) $(CFLAGS) -o $@ -c $<
18
19z-tests.o: ../z-tests.o
20