hex2hcd/Makefile
Wen-chien Jesse Sung 6d30d778f5 Remove -march=native
It causes issues for some platforms. And for a tiny program
which only got run once, we don't really need it anyway.

This should fix #2.

Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
2018-03-09 20:56:15 +08:00

19 lines
228 B
Makefile

CC = gcc
CFLAGS = -O2
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)