a copy from my lolcat, just to show the ansi color palette
This commit is contained in:
parent
a9da66a4b7
commit
5fee54b59f
2 changed files with 112 additions and 0 deletions
18
colors/Makefile
Normal file
18
colors/Makefile
Normal 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 *~
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue