# # rcdrecord/Makefile # # This file is part of webCDwriter - Network CD Writing. # # Copyright (C) 1999-2004 Jörg P. M. Haeger # # webCDwriter is free software. See CDWserver.cpp for details. # goal: rcdrecord include config %.o: %.cpp %.h config.h Error.h Version.h $(CXX) -c $< rcdrecord.o: CommandArgs.h Client.h Client2.h Error.h \ Version.h rcdrecord.cpp $(CXX) -c rcdrecord.cpp rcdrecord: Client.o Client2.o rcdrecord.o $(CXX) Client.o Client2.o rcdrecord.o -o rcdrecord ln -sf rcdrecord files2cd ln -sf rcdrecord image2cd @echo @if [ "$(PRODUCT)" = "rcdrecord" ]; then \ echo "Enter \"$(MAKE) install\" to install \"rcdrecord\" and \"files2cd\" on your system!"; \ fi @echo install: rcdrecord install -d $(BINDIR)/ $(INSTALL) -m 755 rcdrecord $(BINDIR)/ ln -sf rcdrecord $(BINDIR)/files2cd ln -sf rcdrecord $(BINDIR)/image2cd install2: install -d -m 755 $(HTTPDIR)/rcdrecord/ $(INSTALL_644) run*.html $(HTTPDIR)/rcdrecord/ $(INSTALL_644) use*.html $(HTTPDIR)/rcdrecord/ $(INSTALL_644) win32*.html $(HTTPDIR)/rcdrecord/ clean: rm -f *~ .nfs* *.o core maintainer-clean: clean rm -f a.out files2cd image2cd rcdrecord config config.h