2011-05-30 23:37:33 +01:00
|
|
|
|
|
|
|
CC=gcc
|
|
|
|
CFLAGS=-g -Wall
|
2012-02-26 23:51:15 +00:00
|
|
|
LDFLAGS=-g -lm
|
2011-05-30 23:37:33 +01:00
|
|
|
|
2012-03-04 09:43:52 +00:00
|
|
|
ssdv: main.o ssdv.o rs8.o ssdv.h rs8.h
|
2011-05-30 23:37:33 +01:00
|
|
|
$(CC) $(LDFLAGS) main.o ssdv.o rs8.o -o ssdv
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *.o
|
|
|
|
|