modified: makefile
[GalaxyCodeBases.git] / tools / lh3misc / sys / runit / Makefile
blobf67eb74db5ef869f01783ac26cb43f949dde68cb
1 CC= gcc
2 CFLAGS= -g -Wall -O2
3 DFLAGS=
4 OBJS= runit.o runlib.o
5 PROG= runit runtest
6 VERSION= 0.1.0
7 LIBS= -lpthread
9 .SUFFIXES:.c .o
11 .c.o:
12 $(CC) -c $(CFLAGS) $(DFLAGS) $< -o $@
14 all:$(PROG)
16 runit:$(OBJS)
17 $(CC) $(CFLAGS) $(DFLAGS) $(OBJS) -o $@ $(LIBS)
19 runtest:runtest.o
20 $(CC) $(CFLAGS) runtest.o -o $@
22 cleanlocal:
23 rm -f *.o a.out *~ *.a $(PROG) $(MANPAGE)
25 clean:cleanlocal