triggerhappy: moved to github
[openwrt.org/packages.git] / utils / 100-Makefile.patch
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
34
35
36
--- cmdpad-0.0.3/src/Makefile.orig      2008-01-05 23:29:44.000000000 +0100
+++ cmdpad-0.0.3/src/Makefile   2008-01-05 23:30:23.000000000 +0100
@@ -5,25 +5,25 @@
 TOP=..
 include $(TOP)/Makefile.common
 
-INCLUDE= -I/usr/include
-LIBS= -L/usr/lib -lc 
-CFLAGS= -g3
-LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
+#INCLUDE= -I/usr/include
+#LIBS= -L/usr/lib -lc 
+#CFLAGS= -g3
+#LDFLAGS= -Xlinker -Map -Xlinker $(PROG).map #,--stack,16Mb
 OBJ= main.o command.o parse.o
 SCRIPTS= *.sh
 
 build: $(PROG) 
        
 $(PROG): $(OBJ) 
-       gcc -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
+       $(GCC) -o $(PROG) $(OBJ) $(LIBS) $(LDFLAGS)
        @echo "==============================================="
        @echo "edit $(PROG).conf file to set default preferences"
 
 %.o : %.c 
-       gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
+       $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
 
 %.o : %.c %.h
-       gcc $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
+       $(GCC) $(CFLAGS) -D__COPYLEFT__='$(COPYLEFT)' -c $<
 
 distclean clean:
        rm $(PROG) *~ *.o -vf
 
comments