shithub: scc

ref: 77f337174f231d989fdd4a7de1bd3d8ed366bd08
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