OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [getline/] [Makefile] - Rev 103

Go to most recent revision | Compare with Previous | Blame | View Log

#
# Makefile for the getline library
#

CC      = gcc -m32
CFLAGS  = -O -DPOSIX
LDFLAGS = -L.
LDLIBS  = -lgetline

.PHONY:         all install clean

all:            libgetline.a testgl

install:        libgetline.a testgl

testgl:         libgetline.a testgl.o
                $(CC) $(LDFLAGS) $(CFLAGS) -o testgl testgl.o $(LDLIBS)

libgetline.a:   getline.o
                ar cr libgetline.a getline.o

%.o:            %.c
                $(CC) $(CFLAGS) -o $@ -c $<

clean:
                rm -f *~ *.o *.a testgl

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.