diff --git a/1 b/1 deleted file mode 100644 index 37a349e..0000000 --- a/1 +++ /dev/null @@ -1,36 +0,0 @@ -.POSIX: -.SUFFIXES: - -VERSION = 1.0 -TARGET = lcc -PREFIX ?= /usr/local -BINDIR = $(PREFIX)/bin - -CFLAGS = -Os -march=native -mtune=native -pipe -s -std=c99 -pedantic -Wall - -SRC = lcc.c - -$(TARGET): $(SRC) - $(CC) $(SRC) -o $@ $(CFLAGS) - -dist: - mkdir -p $(TARGET)-$(VERSION) - cp -R README.md $(TARGET) $(TARGET)-$(VERSION) - tar -cf $(TARGET)-$(VERSION).tar $(TARGET)-$(VERSION) - gzip $(TARGET)-$(VERSION).tar - rm -rf $(TARGET)-$(VERSION) - -install: $(TARGET) - mkdir -p $(DESTDIR)$(BINDIR) - cp -p $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) - chmod 755 $(DESTDIR)$(BINDIR)/$(TARGET) - -uninstall: - rm $(DESTDIR)$(BINDIR)/$(TARGET) - -clean: - rm $(TARGET) - -all: $(TARGET) - -.PHONY: all dist install uninstall clean