root/src/Makefile.in

Revision c105913d38157700cbb9fbc7f0f6f8a7b18de103, 0.8 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

compile on OpenBSD

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 LDFLAGS=@LDFLAGS@
5 AR=@AR@
6 RANLIB=@RANLIB@
7 LIBS=@LIBS@
8 INSTALL=@INSTALL@
9
10 prefix=@prefix@
11 exec_prefix=@exec_prefix@
12 bindir=@bindir@
13 sbindir=@sbindir@
14 libdir=@libdir@
15 includedir=${prefix}/include
16 libexecdir=@libexecdir@
17 datarootdir = @datarootdir@
18 mandir=@mandir@
19 mansubdir=@mansubdir@
20 docdir=${prefix}/@docdir@
21 sysconfdir=@sysconfdir@
22 srcdir=@srcdir@
23 top_srcdir=@top_srcdir@
24
25 SUBS=utils jlog eventer
26
27 OBJS=noitd.o
28
29 all:    noitd
30
31 make-subdirs:
32         for dir in $(SUBS) ; do \
33                 (cd $$dir && make) ; \
34         done
35
36 noitd:  make-subdirs $(OBJS)
37         $(CC) -o $@ $(OBJS) \
38                 -Leventer -leventer \
39                 -Lutils -lnoit_utils \
40                 -Ljlog -ljlog
41
42 .c.o:
43         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
44
45 clean-subdirs:
46         for dir in $(SUBS) ; do \
47                 make -C $$dir clean ; \
48         done
49
50 clean:  clean-subdirs
51         rm -f *.o noitd
52
Note: See TracBrowser for help on using the browser.