home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
freedraft.tar.gz
/
freedraft.tar
/
FREEdraft-050298
/
COMMAND
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-04-30
|
2KB
|
52 lines
# COMMAND subdirectory Makefile
# Copyright (C) 1998 Cliff Johnson #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public #
# License as published by the Free Software Foundation; either #
# version 2 of the License, or (at your option) any later version. #
# #
# This software is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this software (see COPYING.LIB); if not, write to the #
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #
FREEROOT=..
include $(FREEROOT)/Makefile.in
SRCS = \
menuhandler.cpp \
inputstring.cpp \
comexception.cpp \
colordialog.cpp \
linestyledialog.cpp
OBJS = $(SRCS:%.cpp=%.o)
all : $(OBJS)
cd $(COMMAND)/NOMENU ; $(MAKE)
cd $(COMMAND)/GEOMMENU ; $(MAKE)
cd $(COMMAND)/SAVERECALLMENU ; $(MAKE)
cd $(COMMAND)/MEASUREMENTMENU ; $(MAKE)
%.o : %.cpp
$(CXX) $*.cpp $(CFLAGS) -c
clean :
rm -f *.o
cd $(COMMAND)/NOMENU ; $(MAKE) clean
cd $(COMMAND)/GEOMMENU ; $(MAKE) clean
cd $(COMMAND)/SAVERECALLMENU ; $(MAKE) clean
cd $(COMMAND)/MEASUREMENTMENU ; $(MAKE) clean
vimclean : clean
rm -f *~
cd $(COMMAND)/NOMENU ; $(MAKE) vimclean
cd $(COMMAND)/GEOMMENU ; $(MAKE) vimclean
cd $(COMMAND)/SAVERECALLMENU ; $(MAKE) vimclean
cd $(COMMAND)/MEASUREMENTMENU ; $(MAKE) vimclean