blob: b5d0d1cd900397624f9cc6829ffae4510e48e35f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
all: getscom putscom getsram
VERSION=0.1
CFLAGS=-O2 -g -Wall -m64 -DVERSION=$(VERSION)
getscom: getscom.c xscom.c
$(CC) $(CFLAGS) -o $@ $^
getsram: getsram.c xscom.c sram.c
$(CC) $(CFLAGS) -o $@ $^
putscom: putscom.c xscom.c
$(CC) $(CFLAGS) -o $@ $^
.PHONY: clean
clean:
rm -rf getscom putscom getsram
.PHONY: distclean
distclean: clean
rm -rf *.c~ *.h~ *.i *.s Makefile~
|