6d30d778f5
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>
18 lines
228 B
Makefile
18 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)
|