staden-lg/src/update_subclones/makefile-alpha

43 lines
544 B
Plaintext
Raw Normal View History

2021-12-04 13:07:58 +08:00
#
# Makefile for subclonedb
#
#
# Programs made by this makefile
#
PROGS = update_subclones
#
# Where the wild things are
#
SRC = .
MISCSRC = $(SRC)/../Misc
MISCBIN = $(MISCSRC)
2021-12-04 13:07:58 +08:00
INCLUDES = -I$(SRC) -I$(MISCSRC)
#
# Alpha
#
CC = cc
CFLAGS = -g $(INCLUDES)
2021-12-04 13:07:58 +08:00
LD = cc
LDFLAGS = -g
2021-12-04 13:07:58 +08:00
#
# Here they are
#
update_subclones : update_subclones.o $(MISCBIN)/misc.a
$(LD) $(LDFLAGS) -o update_subclones update_subclones.o $(MISCBIN)/misc.a
#
# Special dependencies
#
all: $(PROGS)
clean:
/bin/rm -f $(PROGS)
%.o: $(SRC)/%.c
$(CC) $(CFLAGS) -c $<