18 lines
249 B
Makefile
18 lines
249 B
Makefile
CC = gcc
|
|
CFLAGS = -O2 -march=native
|
|
TARGET = hex2hcd
|
|
PREFIX = /usr/local
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(TARGET).c
|
|
|
|
install: $(TARGET)
|
|
install -m 755 $(TARGET) $(PREFIX)/bin
|
|
|
|
uninstall:
|
|
rm -f $(PREFIX)/bin/$(TARGET)
|
|
|
|
clean:
|
|
rm -f $(TARGET)
|