Remove accidentally created file

This commit is contained in:
Night Kaly 2024-11-04 23:39:31 +00:00
parent 7a123fba97
commit fbd6eb9c55
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

36
1
View file

@ -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