diff --git a/Makefile b/Makefile index 1acfe45..65d40a3 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,12 @@ .POSIX: .SUFFIXES: -CC = cc VERSION = 1.0 TARGET = lcc PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin -# Flags -CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 +CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall SRC = lcc.c @@ -24,15 +22,14 @@ dist: install: $(TARGET) mkdir -p $(DESTDIR)$(BINDIR) - mkdir -p $(DESTDIR)$(MANDIR) cp -p $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) chmod 755 $(DESTDIR)$(BINDIR)/$(TARGET) uninstall: - $(RM) $(DESTDIR)$(BINDIR)/$(TARGET) + rm $(DESTDIR)$(BINDIR)/$(TARGET) clean: - $(RM) $(TARGET) + rm $(TARGET) all: $(TARGET) diff --git a/lcc.h b/lcc.h index 4613761..98ba167 100644 --- a/lcc.h +++ b/lcc.h @@ -51,9 +51,9 @@ language languages[] = { {"Vimscript", {".vim"}, NULL, NULL, "\""}, }; -#define IGNORE_DIRS 5 +#define IGNORE_DIRS 8 /* IGNORE_DIRS must have same length of ignore_dir */ -char *ignore_dir[IGNORE_DIRS] = {"stagit", "env", "TerminalChat", "cath-docs", ".d.ts"}; +char *ignore_dir[IGNORE_DIRS] = {"stagit", "env", "ref", "cath-docs", ".d.ts", "coslinux", "Zig", "pdfs"}; #endif