shithub: scc

ref: a115b80c0660473027f0a4ae009b7534e8d5f8d8
dir: /objdump/Makefile/

View raw version
.POSIX:

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

OBJ       = main.o 
MORECFLAGS = $(STDCFLAGS)

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