a copy from my lolcat, just to show the ansi color palette

This commit is contained in:
Vincent Batts 2011-11-15 08:30:40 -05:00
parent a9da66a4b7
commit 5fee54b59f
2 changed files with 112 additions and 0 deletions

18
colors/Makefile Normal file
View file

@ -0,0 +1,18 @@
PRGNAM := colors
CC := gcc
CFLAGS := -O2 -g
bindir := /usr/bin
all: $(PRGNAM)
$(PRGNAM): $(PRGNAM).c
$(CC) $(CFLAGS) -DHAVE_STATE -o $@ $<
install: $(PRGNAM)
install -D -m 0755 -s $(PRGNAM) $(DESTDIR)$(bindir)/$(PRGNAM)
clean:
rm -rf $(PRGNAM) *.o *~