summaryrefslogtreecommitdiffstats
path: root/main/newt/parallel-build.patch
blob: 5502dc982ebc62f707ba21b0365aaea941b65b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./Makefile.in.orig	2013-10-21 09:24:07.662175351 +0000
+++ ./Makefile.in	2013-10-21 09:24:45.692593150 +0000
@@ -111,7 +111,7 @@
 $(LIBNEWT): $(LIBOBJS)
 	ar rv $@ $^
 
-newt.o $(SHAREDDIR)/newt.o: newt.c Makefile
+newt.o $(SHAREDDIR)/newt.o: newt.c Makefile $(SHAREDDIR)
 
 veryclean: clean
 	rm -f .depend *.pc
@@ -133,7 +133,7 @@
 	ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
 	ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
 
-$(SHAREDDIR)/%.o : %.c
+$(SHAREDDIR)/%.o : %.c $(SHAREDDIR)
 	$(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
 
 install: $(LIBNEWT) install-sh whiptail