summaryrefslogtreecommitdiff
path: root/package/comgt/patches/patch-comgt_0_32_Makefile
blob: 29a6dbfdc4b38de2051659827a200a84067bf3ba (plain)
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
27
28
29
30
31
32
33
$Id$
--- comgt.0.32.orig/Makefile	2006-10-20 16:49:46.000000000 +0200
+++ comgt.0.32/Makefile	2006-12-05 18:03:37.000000000 +0100
@@ -23,8 +23,6 @@
 #
 #
 
-LIB     = -L/usr/local/lib
-INC     = -I/usr/local/include
 EXE	= /usr/local/bin
 MAN     = /usr/share/man/man1
 CPROG	= comgt
@@ -33,9 +31,6 @@ SCRIPTSRC = ./scripts/
 BIN     = $(CPROG) 
 MANP	= comgt.1 sigmon.1
 
-CFLAGS  = -c
-LDFLAGS =
-
 all: $(BIN)
 
 install:
@@ -72,8 +67,8 @@ clean:
 
 
 comgt: comgt.o
-	cc comgt.o $(LDFLAGS) -o comgt
+	$(CC) comgt.o $(LDFLAGS) -o comgt
 
 comgt.o: comgt.c comgt.h
-	cc comgt.c $(CFLAGS) 
+	$(CC) comgt.c -c $(CFLAGS)