16 lines
217 B
Makefile
16 lines
217 B
Makefile
BIN = baseconv_example
|
|
OBJS = baseconv.o main.o
|
|
|
|
all: $(BIN)
|
|
|
|
$(BIN): $(OBJS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
|
|
|
|
main.o: baseconv.h
|
|
|
|
clean:
|
|
rm -f $(BIN) $(OBJS)
|
|
|
|
distclean: clean
|
|
|
|
.PHONY: all clean distclean
|