#--------------------------------------------------------------------------- # Makefile for Pash, (c) Pierre Adriaans 1994-97 #--------------------------------------------------------------------------- # "Ash" was the original name of the program, so, dont mind the names # of the files or the variables. #--------------------------------------------------------------------------- # If you successfully build executables of Pash on other platforms than # IBM PCs, PLEASE let me know by e-mail: xpierre@ibm.net #--------------------------------------------------------------------------- CC=gcc -DSIGACT -DIS_CLOCK -DLINUX all: pash pash: ash.o aide.o args.o ipcctl.o cd_tree.o execute.o process.o \ chmod.o chown.o chgrp.o comp_dir.o mkdir.o delete.o link.o \ move.o copy.o fullinfo.o findfile.o \ keyboard.o screen.o printf.o gets.o random.o clock.o \ inputbox.o listbox.o answerbx.o checkbox.o menus.o dir.o $(CC) -o pash \ ash.o aide.o args.o ipcctl.o cd_tree.o execute.o process.o \ chmod.o chown.o chgrp.o comp_dir.o mkdir.o delete.o link.o \ move.o copy.o fullinfo.o findfile.o \ keyboard.o screen.o printf.o gets.o random.o clock.o \ inputbox.o listbox.o answerbx.o checkbox.o menus.o dir.o ash.o: ash.c ash.h $(CC) -c ash.c aide.o: aide.c ash.h $(CC) -c aide.c args.o: args.c ash.h $(CC) -c args.c ipcctl.o: ipcctl.c ash.h $(CC) -c ipcctl.c cd_tree.o: cd_tree.c ash.h $(CC) -c cd_tree.c execute.o: execute.c ash.h $(CC) -c execute.c process.o: process.c ash.h $(CC) -c process.c chmod.o: chmod.c ash.h $(CC) -c chmod.c chown.o: chown.c ash.h $(CC) -c chown.c chgrp.o: chgrp.c ash.h $(CC) -c chgrp.c comp_dir.o: comp_dir.c ash.h $(CC) -c comp_dir.c mkdir.o: mkdir.c ash.h $(CC) -c mkdir.c delete.o: delete.c ash.h $(CC) -c delete.c link.o: link.c ash.h $(CC) -c link.c move.o: move.c ash.h $(CC) -c move.c copy.o: copy.c ash.h $(CC) -c copy.c fullinfo.o: fullinfo.c ash.h $(CC) -c fullinfo.c findfile.o: findfile.c ash.h $(CC) -c findfile.c #----------------------------------------------------------------------------- clock.o: clock.h screen.h clock.c $(CC) -c clock.c random.o: random.h random.c $(CC) -c random.c keyboard.o: ansi.h screen.h keyboard.h keyboard.c $(CC) -c keyboard.c screen.o: ansi.h screen.h screen.c keyboard.h $(CC) -c screen.c printf.o: ansi.h screen.h keyboard.h printf.h printf.c $(CC) -c printf.c gets.o: ansi.h screen.h keyboard.h gets.h gets.c $(CC) -c gets.c inputbox.o: ansi.h screen.h keyboard.h inputbox.h inputbox.c checkbox.h $(CC) -c inputbox.c listbox.o: ansi.h screen.h keyboard.h listbox.h listbox.c $(CC) -c listbox.c answerbx.o: ansi.h screen.h keyboard.h answerbx.h answerbx.c \ checkbox.h $(CC) -c answerbx.c checkbox.o: ansi.h screen.h keyboard.h checkbox.h checkbox.c $(CC) -c checkbox.c menus.o: ansi.h screen.h keyboard.h menus.h menus.c $(CC) -c menus.c dir.o: dir.h keyboard.h dir.c $(CC) -c dir.c