shithub: scc

ref: c4e18492e995b3eeefe33495b7e7822a700c18d8
dir: /objdump/Makefile/

View raw version
.POSIX:

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

OBJ       = main.o 

all: $(BINDIR)/objdump

$(BINDIR)/objdump: objdump
	cp objdump $@

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

dep:
	$(PROJECTDIR)/mkdep.sh

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

include deps.mk