summaryrefslogtreecommitdiffstats
path: root/libiptc/Makefile
blob: e1bc7bed554e9228819400f9fc70fd37062cd0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make

EXTRAS+=libiptc/libiptc.a

ifndef TOPLEVEL_INCLUDED
local:
	cd .. && $(MAKE) $(KERN_TARGETS) $(SHARED_LIBS) $(EXTRAS)

else
EXTRA_DEPENDS+=libiptc/libiptc.d

libiptc/libiptc.a: libiptc/libiptc.a(libiptc/libiptc.o)

libiptc/libiptc.d: %.d: %.c
	@-$(CC) -M -MG $(CFLAGS) $< | sed -e 's@^.*\.o:@$*.d $*.a:@' > $@
endif