Update Makefile

This commit is contained in:
Philip Heron 2012-10-31 23:14:28 +00:00
parent b9e100a3e2
commit 31e9848970
1 changed files with 8 additions and 2 deletions

View File

@ -3,12 +3,18 @@ CC=gcc
CFLAGS=-g -O3 -Wall
LDFLAGS=-g
all: ssdv
ssdv: main.o ssdv.o rs8.o ssdv.h rs8.h
$(CC) $(LDFLAGS) main.o ssdv.o rs8.o -o ssdv
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm *.o
install: all
mkdir -p ${DESTDIR}/usr/bin
install -m 755 ssdv ${DESTDIR}/usr/bin
clean:
rm -f *.o ssdv