hex2hcd/Makefile

19 lines
249 B
Makefile
Raw Normal View History

2016-02-22 05:35:20 +01:00
CC = gcc
CFLAGS = -O2 -march=native
TARGET = hex2hcd
PREFIX = /usr/local
2012-07-06 12:16:09 +02:00
2016-02-22 05:35:20 +01:00
all: $(TARGET)
2012-07-06 12:16:09 +02:00
2016-02-22 05:35:20 +01:00
$(TARGET): $(TARGET).c
2012-07-06 12:16:09 +02:00
2016-02-22 05:35:20 +01:00
install: $(TARGET)
install -m 755 $(TARGET) $(PREFIX)/bin
uninstall:
rm -f $(PREFIX)/bin/$(TARGET)
clean:
rm -f $(TARGET)