"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "logserial-0.4.2/Makefile" of archive logserial-0.4.2.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 #
    2 # FILE:
    3 # Makefile
    4 #
    5 # FUNCTION:
    6 # Makefile for logserial
    7 
    8 CC=gcc
    9 
   10 NAME=logserial
   11 VERSION=0.4.2
   12 
   13 OBJS= logserial.o sysdep1.o
   14 
   15 OPTIMIZE= -O3 -m486 -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
   16 DEBUG_FLAGS= #-g 
   17 
   18 CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
   19 
   20 all: $(NAME)
   21 
   22 $(NAME): $(OBJS)
   23 	$(CC) $(CFLAGS) -o $(NAME) $(OBJS)
   24 
   25 $(NAME).o: $(NAME).c
   26     
   27 sysdep1.o: sysdep1.c
   28 
   29 clean:
   30 	rm -f *.o $(NAME) core *~
   31 
   32 tar:	clean
   33 	tar -C .. -c -v -z -f ../$(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)