aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zaptel/files/patch-ztcfg::Makefile
blob: cc147a290b1408522c73709e3b45c82b16c87c79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

$FreeBSD$

--- ztcfg/Makefile
+++ ztcfg/Makefile
@@ -10,10 +10,19 @@
 
 all: ztcfg libtonezone.a
 
-ztcfg: ztcfg.o  tonezone.o zonedata.o
+ztcfg: ztcfg.o tonezone.o zonedata.o
    ${CC} ${CFLAGS} -o ztcfg ztcfg.o tonezone.o zonedata.o -lm
 
 ztcfg.c: ztcfg.h
+
+ztcfg.o: ztcfg.c
+   ${CC} ${CFLAGS} -o ztcfg.o -c ztcfg.c
+
+tonezone.o: tonezone.c
+   ${CC} ${CFLAGS} -o tonezone.o -c tonezone.c
+
+zonedata.o: zonedata.c
+   ${CC} ${CFLAGS} -o zonedata.o -c zonedata.c
 
 libtonezone.a: tonezone.o
    ar r libtonezone.a tonezone.o zonedata.o