[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: errors building a .deb



* On Fri, Apr 29, 2005 at 04:50:02PM +0200, Luk Claes wrote:
> > Obviously, I need to fix up my install target, but where/how? In the
> > makefile that comes with the tgz, or debian/rules?
> 
> It looks like the Makefile in the tgz has no 'install' target?
> 
> It might work without mentioning install, to be sure we have to see the
> Makefile.

Here's the source package Makefile. I didn't realise I could change
stuff in the source package - I thought only in the debian/ directory.

> ##
> # Makefile automatically generated by genmake 1.0, Mar-16-97
> # genmake 1.0 by ma_muquitNOSPAMfccc.edu, RCS
> ##
> CC= cc
> DEFS=
> PROGNAME= grabc
> LIBS= -L/usr/X11R6/lib -lX11
> 
> INCLUDES=  -I.
> 
> # replace -O with -g in order to debug
> 
> DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES__ -DSYS_UNIX=1
> CFLAGS= -O $(DEFINES)
> 
> SRCS = grabc.c
> 
> OBJS = grabc.o
> 
> .c.o:
>         rm -f $@
>         $(CC) $(CFLAGS) -c $*.c
> 
> all: $(PROGNAME)
> 
> $(PROGNAME) : $(OBJS)
>         $(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)
> 
> clean:
>         rm -f $(OBJS) $(PROGNAME) core

--
Sonia Hamilton. GPG key A8B77238.
.
Linux: the choice of a GNU generation.

Attachment: signature.asc
Description: Digital signature


Reply to: