shithub: scc

ref: 50b61aefb480b94a4a4dd69c6ffb05addc2912a3
dir: /objdump/Makefile/

View raw version
.POSIX:

PROJECTDIR = ..
include $(PROJECTDIR)/rules.mk
include $(LIBSCC)/libdep.mk

OBJ       = main.o 

all: $(BINDIR)/objdump

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

dep:
	$(PROJECTDIR)/mkdep.sh

clean:
	rm -f $(BINDIR)/objdump *.o

include deps.mk