TARGET=decodelf
INCLUDE=-I $(SMROOT)/services/l4/lib/librmgr/include -I$(SMROOT)/services/oskit
EXTRA_CFLAGS = -g -Wall # -D__DEBUG__
EXTRA_LDFLAGS = -static -Ttext 0x2600000
LIBS = -L$(SMROOT)/services/l4/lib/librmgr -lrmgr \
       -L$(SMROOT)/services/lib -lname -lcow -lrmpager -lgdbstub -lipcpipe \
       -lservices -lutils \
       -L$(SMROOT)/services/l4/lib/liboskit_support \
       -L$(SMROOT)/services/oskit/lib -lmc -loskit_support -lmc -llmm -lkern

O_OBJS = crt0s.o decodelf.o idl/decodelf-server.o elfexe.o
L_OBJS =

all:	world
world:	$(TARGET)
decodelf: \
	$(SMROOT)/services/lib/librmpager.a $(SMROOT)/services/lib/libcow.a \
        $(SMROOT)/services/lib/libname.a $(SMROOT)/services/lib/libutils.a

include $(SMROOT)/Makeconf.$(USER)


