summaryrefslogtreecommitdiffstats
path: root/external/firebird/firebird-btyacc-add-explicit-rule.patch
blob: c4d88d911a405e6eeb23d0c28d253e1e2b7f0961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- extern/btyacc/Makefile.orig	2020-11-13 18:57:44.831455058 +0100
+++ extern/btyacc/Makefile	2020-11-13 18:59:19.071078333 +0100
@@ -44,6 +44,9 @@
 $(PROGRAM):     $(OBJS) $(LIBS)
 		$(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJS) $(LIBS)
 
+%.o: %.c
+		$(CC) $(CCFLAGS) -c $< -o $@
+
 clean:;		rm -f $(OBJS)
 
 clobber:;	rm -f $(OBJS) $(PROGRAM)