Update Makefile
This commit is contained in:
parent
b9e100a3e2
commit
31e9848970
10
Makefile
10
Makefile
|
@ -3,12 +3,18 @@ CC=gcc
|
||||||
CFLAGS=-g -O3 -Wall
|
CFLAGS=-g -O3 -Wall
|
||||||
LDFLAGS=-g
|
LDFLAGS=-g
|
||||||
|
|
||||||
|
all: ssdv
|
||||||
|
|
||||||
ssdv: main.o ssdv.o rs8.o ssdv.h rs8.h
|
ssdv: main.o ssdv.o rs8.o ssdv.h rs8.h
|
||||||
$(CC) $(LDFLAGS) main.o ssdv.o rs8.o -o ssdv
|
$(CC) $(LDFLAGS) main.o ssdv.o rs8.o -o ssdv
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
clean:
|
install: all
|
||||||
rm *.o
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
|
install -m 755 ssdv ${DESTDIR}/usr/bin
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o ssdv
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue