28ea2ecf27ff4d056561a624168a748b9af8c384
[openwrt/svn-archive/archive.git] / utils / comgt / patches / 001-Makefile.patch
1 --- gcom-0.3.x/Makefile 2006-01-04 17:05:28.000000000 +0200
2 +++ gcom-0.3/Makefile 2006-02-26 13:02:07.000000000 +0200
3 @@ -20,8 +20,6 @@
4 #
5 # $Id$
6 #
7 -LIB = -L/usr/local/lib
8 -INC = -I/usr/local/include
9 EXE = /usr/local/bin
10 MAN = /usr/share/man/man1
11 CPROG = gcom
12 @@ -29,9 +27,6 @@
13 BIN = $(CPROG) $(SCRIPT)
14 MANP = gcom.1 sigmon.1
15
16 -CFLAGS = -c
17 -LDFLAGS =
18 -
19 all: $(BIN)
20
21 install:
22 @@ -53,8 +48,8 @@
23
24
25 gcom: gcom.o
26 - cc gcom.o $(LDFLAGS) -o gcom
27 + $(CC) gcom.o $(LDFLAGS) -o gcom
28
29 gcom.o: gcom.c gcom.h
30 - cc gcom.c $(CFLAGS)
31 + $(CC) -c $(CFLAGS) gcom.c
32