]> git.ozlabs.org Git - ppp.git/blobdiff - pppstats/Makefile.linux
Add cross-compilation support on Linux
[ppp.git] / pppstats / Makefile.linux
index 181937089753cf02dc64d50a10906d092b9ca3e9..ddfe0cc841be361c4a7926b317c2f39a78d6523e 100644 (file)
@@ -1,7 +1,10 @@
 #
 # pppstats makefile
-# $Id: Makefile.linux,v 1.9 2006/06/04 05:07:46 paulus Exp $
 #
+CROSS_COMPILE=@CROSS_COMPILE@
+CC=$(CROSS_COMPILE)@CC@
+COPTS=@CFLAGS@
+
 DESTDIR = $(INSTROOT)@DESTDIR@
 BINDIR = $(DESTDIR)/sbin
 MANDIR = $(DESTDIR)/share/man/man8
@@ -9,8 +12,6 @@ MANDIR = $(DESTDIR)/share/man/man8
 PPPSTATSRCS = pppstats.c
 PPPSTATOBJS = pppstats.o
 
-#CC = gcc
-COPTS = -O
 COMPILE_FLAGS = -I../include
 LIBS =