blob: 12685c99895169df8c006991b9d42d918466bff8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Makefile for bitfile routines
CC = gcc
CFLAGS = -c -g -Wall
LDFLAGS =
OBJECTS = bitinfo.o bitfile.o
all: bitinfo
bitinfo.o: bitinfo.c bitfile.h
${CC} ${CFLAGS} bitinfo.c -o bitinfo.o
bitfile.o: bitfile.c bitfile.h
${CC} ${CFLAGS} bitfile.c -o bitfile.o
bitinfo: bitinfo.o bitfile.o
${CC} ${LDFLAGS} ${OBJECTS} -o bitinfo
clean:
rm -f ${OBJECTS} bitinfo
|