shithub: scc

ref: dc0bdaac8b9d8b9797ebbb8616c359e346981de7
dir: /objdump/Makefile/

View raw version
.POSIX:

LIBDIR    = ../lib/scc
include ../config.mk
include $(LIBDIR)/libdep.mk

OBJ       = main.o 

all: objdump

objdump: $(OBJ) $(LIBDIR)/libscc.a
	$(CC) $(SCC_LDFLAGS) $(OBJ) -lscc -o $@

main.o: ../inc/scc.h ../inc/myro.h ../inc/arg.h

$(LIBDIR)/libscc.a: $(LIB-OBJ)
	+cd $(LIBDIR) && $(MAKE)

dep:
clean:
	rm -f objdump *.o

distclean: clean