All pastes #81506 Raw Edit

Something

public text v1 · immutable
·published 2006-07-07 15:40 UTC
rendered paste body
#
# defines the files used in aimage
#
AIMAGE_TARGETS := $(D)aimage $(D)ident
AIMAGE_OBJS    := $(D)aimage.o $(D)aimage_os.o $(D)imager.o $(D)timer.o $(D)gui.o $(D)ident.o

IDENT_OBJS     := $(D)ident.o $(D)ident_main.o

$(D)aimage: $(AIMAGE_OBJS) $(AFFLIB)
        $(CXX) $(CXXFLAGS) -o $@ $(AIMAGE_OBJS) $(AFFLIB) $(LIBS) -lncurses -lreadline

$(D)ident: $(IDENT_OBJS)
        $(CXX) $(CXXFLAGS) -o affident $(IDENT_OBJS) $(LIBS) -lncurses -lreadline
#       $(CXX) $(CXXFLAGS) -o $@ $(IDENT_OBJS) $(LIBS) -lncurses -lreadline

SRCS += $(wildcard $(D)*.cpp) $(wildcard $(D)*.txt) $(wildcard $(D)*.h) $(D)Makefile $(D)Makefile.files



$(D)aimage.o: $(D)imager.h
$(D)aimage_os.o: $(D)imager.h
$(D)gui.o: $(D)imager.h
$(D)ident.o: $(D)imager.h
$(D)ident_main.o: $(D)imager.h
$(D)imager.o: $(D)imager.h

$(IDENT_OBJS): $(D)ident.h $(D)ident_freebsd.cpp $(D)ident_linux.cpp $(D)ident_apple.cpp $(D)ident_unix.cpp

#