You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
367 B

# 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