URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.22/] [sim/] [getline/] [Makefile] - Rev 130
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